- fix GPU init (fix compiling builds);
This commit is contained in:
parent
ca68894e48
commit
5caa5b3df4
|
@ -1849,7 +1849,7 @@ void GPU::_spriteRender(u8 * dst, u8 * dst_alpha, u8 * typeTab, u8 * prioTab)
|
||||||
// SCREEN FUNCTIONS
|
// SCREEN FUNCTIONS
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
int Screen_Init(int coreid)
|
int Screen_Init()
|
||||||
{
|
{
|
||||||
MainScreen.gpu = GPU_Init(0);
|
MainScreen.gpu = GPU_Init(0);
|
||||||
SubScreen.gpu = GPU_Init(1);
|
SubScreen.gpu = GPU_Init(1);
|
||||||
|
|
|
@ -842,7 +842,7 @@ typedef struct {
|
||||||
extern NDS_Screen MainScreen;
|
extern NDS_Screen MainScreen;
|
||||||
extern NDS_Screen SubScreen;
|
extern NDS_Screen SubScreen;
|
||||||
|
|
||||||
int Screen_Init(int coreid);
|
int Screen_Init();
|
||||||
void Screen_Reset(void);
|
void Screen_Reset(void);
|
||||||
void Screen_DeInit(void);
|
void Screen_DeInit(void);
|
||||||
|
|
||||||
|
|
|
@ -114,7 +114,7 @@ int NDS_Init( void) {
|
||||||
//got to print this somewhere..
|
//got to print this somewhere..
|
||||||
printf("%s\n", EMU_DESMUME_NAME_AND_VERSION());
|
printf("%s\n", EMU_DESMUME_NAME_AND_VERSION());
|
||||||
|
|
||||||
if (Screen_Init(GFXCORE_DUMMY) != 0)
|
if (Screen_Init() != 0)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
gfx3d_init();
|
gfx3d_init();
|
||||||
|
|
Loading…
Reference in New Issue