minor tweaks

This commit is contained in:
dborth 2009-10-13 04:56:38 +00:00
parent 439a1625f2
commit 2533738495
2 changed files with 3 additions and 13 deletions

View File

@ -378,11 +378,9 @@ main(int argc, char *argv[])
#endif
InitDeviceThread();
VIDEO_Init();
SetupPads();
InitGCVideo(); // Initialise video
ResetVideo_Menu (); // change to menu video mode
SetupPads();
#ifdef HW_RVL
// Wii Power/Reset buttons

View File

@ -289,15 +289,6 @@ vbgetback (void *arg)
return NULL;
}
/****************************************************************************
* InitVideoThread
***************************************************************************/
void
InitVideoThread ()
{
LWP_CreateThread (&vbthread, vbgetback, NULL, vbstack, TSTACK, 100);
}
/****************************************************************************
* copy_to_xfb
*
@ -572,11 +563,12 @@ static void SetupVideoMode(GXRModeObj * mode)
void
InitGCVideo ()
{
VIDEO_Init();
GXRModeObj *rmode = FindVideoMode();
SetupVideoMode(rmode);
StartGX ();
InitLUTs(); // init LUTs for hq2x
InitVideoThread ();
LWP_CreateThread (&vbthread, vbgetback, NULL, vbstack, TSTACK, 68);
}
/****************************************************************************