- fix GPU init (fix compiling builds);

This commit is contained in:
mtabachenko 2012-06-14 11:45:36 +00:00
parent ca68894e48
commit 5caa5b3df4
3 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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();