mirror of
https://github.com/dborth/fceugx.git
synced 2025-01-07 14:28:18 +01:00
ISI fix
This commit is contained in:
parent
0b7703a85f
commit
f731a3fd88
@ -182,21 +182,22 @@ int main(int argc, char *argv[])
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HW_RVL
|
#ifdef HW_RVL
|
||||||
|
DI_Close();
|
||||||
DI_Init(); // first
|
DI_Init(); // first
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int selectedMenu = -1;
|
|
||||||
|
|
||||||
InitDeviceThread();
|
InitDeviceThread();
|
||||||
|
VIDEO_Init();
|
||||||
InitGCVideo ();
|
|
||||||
ResetVideo_Menu (); // change to menu video mode
|
|
||||||
|
|
||||||
// Controllers
|
|
||||||
PAD_Init();
|
PAD_Init();
|
||||||
|
|
||||||
#ifdef HW_RVL
|
#ifdef HW_RVL
|
||||||
WPAD_Init();
|
WPAD_Init();
|
||||||
|
#endif
|
||||||
|
|
||||||
|
InitGCVideo ();
|
||||||
|
ResetVideo_Menu (); // change to menu video mode
|
||||||
|
|
||||||
|
#ifdef HW_RVL
|
||||||
// read wiimote accelerometer and IR data
|
// read wiimote accelerometer and IR data
|
||||||
WPAD_SetDataFormat(WPAD_CHAN_ALL,WPAD_FMT_BTNS_ACC_IR);
|
WPAD_SetDataFormat(WPAD_CHAN_ALL,WPAD_FMT_BTNS_ACC_IR);
|
||||||
WPAD_SetVRes(WPAD_CHAN_ALL,640,480);
|
WPAD_SetVRes(WPAD_CHAN_ALL,640,480);
|
||||||
@ -247,6 +248,8 @@ int main(int argc, char *argv[])
|
|||||||
if(argc > 0 && argv[0] != NULL)
|
if(argc > 0 && argv[0] != NULL)
|
||||||
CreateAppPath(argv[0]);
|
CreateAppPath(argv[0]);
|
||||||
|
|
||||||
|
int selectedMenu = -1;
|
||||||
|
|
||||||
// Load preferences
|
// Load preferences
|
||||||
if(!LoadPrefs())
|
if(!LoadPrefs())
|
||||||
{
|
{
|
||||||
|
@ -472,9 +472,6 @@ UpdatePadsCB ()
|
|||||||
void
|
void
|
||||||
InitGCVideo ()
|
InitGCVideo ()
|
||||||
{
|
{
|
||||||
// init video
|
|
||||||
VIDEO_Init ();
|
|
||||||
|
|
||||||
// get default video mode
|
// get default video mode
|
||||||
vmode = VIDEO_GetPreferredMode(NULL);
|
vmode = VIDEO_GetPreferredMode(NULL);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user