minor tweaks

This commit is contained in:
dborth 2009-10-13 04:52:28 +00:00
parent b9fdbfa8ad
commit ecd845c11f
2 changed files with 3 additions and 12 deletions

View File

@ -259,9 +259,8 @@ int main(int argc, char *argv[])
#endif
InitDeviceThread();
VIDEO_Init();
InitGCVideo (); // Initialize video
SetupPads();
InitGCVideo (); // Initialise video
ResetVideo_Menu (); // change to menu video mode
#ifdef HW_RVL

View File

@ -263,15 +263,6 @@ vbgetback (void *arg)
return NULL;
}
/****************************************************************************
* InitVideoThread
***************************************************************************/
void
InitVideoThread ()
{
LWP_CreateThread (&vbthread, vbgetback, NULL, vbstack, TSTACK, 100);
}
/****************************************************************************
* copy_to_xfb
*
@ -610,11 +601,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);
}
/****************************************************************************