From 5caa5b3df4383301e4f5d9358c238597915dc1ba Mon Sep 17 00:00:00 2001 From: mtabachenko Date: Thu, 14 Jun 2012 11:45:36 +0000 Subject: [PATCH] - fix GPU init (fix compiling builds); --- desmume/src/GPU.cpp | 2 +- desmume/src/GPU.h | 2 +- desmume/src/NDSSystem.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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();