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 #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

View File

@ -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);
} }
/**************************************************************************** /****************************************************************************