mirror of
https://github.com/dborth/fceugx.git
synced 2025-01-07 14:28:18 +01:00
minor tweaks
This commit is contained in:
parent
b9fdbfa8ad
commit
ecd845c11f
@ -259,9 +259,8 @@ int main(int argc, char *argv[])
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
InitDeviceThread();
|
InitDeviceThread();
|
||||||
VIDEO_Init();
|
InitGCVideo (); // Initialize video
|
||||||
SetupPads();
|
SetupPads();
|
||||||
InitGCVideo (); // Initialise video
|
|
||||||
ResetVideo_Menu (); // change to menu video mode
|
ResetVideo_Menu (); // change to menu video mode
|
||||||
|
|
||||||
#ifdef HW_RVL
|
#ifdef HW_RVL
|
||||||
|
@ -263,15 +263,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
|
||||||
*
|
*
|
||||||
@ -610,11 +601,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