mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-27 21:14:21 +01:00
minor tweaks
This commit is contained in:
parent
439a1625f2
commit
2533738495
@ -378,11 +378,9 @@ main(int argc, char *argv[])
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
InitDeviceThread();
|
InitDeviceThread();
|
||||||
VIDEO_Init();
|
|
||||||
SetupPads();
|
|
||||||
|
|
||||||
InitGCVideo(); // Initialise video
|
InitGCVideo(); // Initialise video
|
||||||
ResetVideo_Menu (); // change to menu video mode
|
ResetVideo_Menu (); // change to menu video mode
|
||||||
|
SetupPads();
|
||||||
|
|
||||||
#ifdef HW_RVL
|
#ifdef HW_RVL
|
||||||
// Wii Power/Reset buttons
|
// Wii Power/Reset buttons
|
||||||
|
@ -289,15 +289,6 @@ vbgetback (void *arg)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* InitVideoThread
|
|
||||||
***************************************************************************/
|
|
||||||
void
|
|
||||||
InitVideoThread ()
|
|
||||||
{
|
|
||||||
LWP_CreateThread (&vbthread, vbgetback, NULL, vbstack, TSTACK, 100);
|
|
||||||
}
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* copy_to_xfb
|
* copy_to_xfb
|
||||||
*
|
*
|
||||||
@ -572,11 +563,12 @@ static void SetupVideoMode(GXRModeObj * mode)
|
|||||||
void
|
void
|
||||||
InitGCVideo ()
|
InitGCVideo ()
|
||||||
{
|
{
|
||||||
|
VIDEO_Init();
|
||||||
GXRModeObj *rmode = FindVideoMode();
|
GXRModeObj *rmode = FindVideoMode();
|
||||||
SetupVideoMode(rmode);
|
SetupVideoMode(rmode);
|
||||||
StartGX ();
|
StartGX ();
|
||||||
InitLUTs(); // init LUTs for hq2x
|
InitLUTs(); // init LUTs for hq2x
|
||||||
InitVideoThread ();
|
LWP_CreateThread (&vbthread, vbgetback, NULL, vbstack, TSTACK, 68);
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
Loading…
Reference in New Issue
Block a user