diff --git a/desmume/src/GPU.cpp b/desmume/src/GPU.cpp index ede070acb..07a8724b1 100644 --- a/desmume/src/GPU.cpp +++ b/desmume/src/GPU.cpp @@ -1849,7 +1849,7 @@ void GPU::_spriteRender(u8 * dst, u8 * dst_alpha, u8 * typeTab, u8 * prioTab) // SCREEN FUNCTIONS /*****************************************************************************/ -int Screen_Init(int coreid) +int Screen_Init() { MainScreen.gpu = GPU_Init(0); SubScreen.gpu = GPU_Init(1); diff --git a/desmume/src/GPU.h b/desmume/src/GPU.h index d4924aa28..cdd338573 100644 --- a/desmume/src/GPU.h +++ b/desmume/src/GPU.h @@ -842,7 +842,7 @@ typedef struct { extern NDS_Screen MainScreen; extern NDS_Screen SubScreen; -int Screen_Init(int coreid); +int Screen_Init(); void Screen_Reset(void); void Screen_DeInit(void); diff --git a/desmume/src/NDSSystem.cpp b/desmume/src/NDSSystem.cpp index 28e27252e..d84461eee 100644 --- a/desmume/src/NDSSystem.cpp +++ b/desmume/src/NDSSystem.cpp @@ -114,7 +114,7 @@ int NDS_Init( void) { //got to print this somewhere.. printf("%s\n", EMU_DESMUME_NAME_AND_VERSION()); - if (Screen_Init(GFXCORE_DUMMY) != 0) + if (Screen_Init() != 0) return -1; gfx3d_init();