mirror of
https://github.com/dborth/fceugx.git
synced 2025-01-05 21:38:17 +01:00
minor tweaks
This commit is contained in:
parent
b9fdbfa8ad
commit
ecd845c11f
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user