add software rasterizer 3d to cli port
This commit is contained in:
parent
776d0aa72a
commit
9fe45a37de
|
@ -52,6 +52,7 @@
|
|||
#include "../sndsdl.h"
|
||||
#include "../ctrlssdl.h"
|
||||
#include "../render3D.h"
|
||||
#include "../rasterize.h"
|
||||
#ifdef GDB_STUB
|
||||
#include "../gdbstub.h"
|
||||
#endif
|
||||
|
@ -82,7 +83,9 @@ SoundInterface_struct *SNDCoreList[] = {
|
|||
};
|
||||
|
||||
GPU3DInterface *core3DList[] = {
|
||||
&gpu3DNull
|
||||
&gpu3DNull,
|
||||
&gpu3DRasterize,
|
||||
NULL
|
||||
};
|
||||
|
||||
|
||||
|
@ -632,6 +635,8 @@ int main(int argc, char ** argv) {
|
|||
SPU_ChangeSoundCore(SNDCORE_SDL, 735 * 4);
|
||||
}
|
||||
|
||||
NDS_3D_ChangeCore(1);
|
||||
|
||||
if (NDS_LoadROM( my_config.nds_file, MC_TYPE_AUTODETECT, 1, my_config.cflash_disk_image_file) < 0) {
|
||||
fprintf(stderr, "error while loading %s\n", my_config.nds_file);
|
||||
exit(-1);
|
||||
|
|
Loading…
Reference in New Issue