mirror of
https://github.com/dborth/fceugx.git
synced 2025-01-07 14:28:18 +01:00
add DVD motor off for GC users
This commit is contained in:
parent
1177e8ff1f
commit
d0203693bb
@ -829,14 +829,15 @@ PreferencesMenu ()
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Main Menu
|
* Main Menu
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
int menucount = 6;
|
int menucount = 7;
|
||||||
char menuitems[][50] = {
|
char menuitems[][50] = {
|
||||||
"Choose Game",
|
"Choose Game",
|
||||||
"Preferences",
|
"Preferences",
|
||||||
"Game Menu",
|
"Game Menu",
|
||||||
"Credits",
|
"Credits",
|
||||||
|
"DVD Motor Off",
|
||||||
"Reset System",
|
"Reset System",
|
||||||
"Exit"
|
"Return to Loader"
|
||||||
};
|
};
|
||||||
|
|
||||||
void
|
void
|
||||||
@ -845,6 +846,14 @@ MainMenu (int selectedMenu)
|
|||||||
int quit = 0;
|
int quit = 0;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
#ifdef HW_RVL
|
||||||
|
// don't show dvd motor off on the wii
|
||||||
|
menuitems[4][0] = 0;
|
||||||
|
// rename reset/exit items
|
||||||
|
sprintf (menuitems[5], "Return to Wii Menu");
|
||||||
|
sprintf (menuitems[6], "Return to Homebrew Channel");
|
||||||
|
#endif
|
||||||
|
|
||||||
VIDEO_WaitVSync ();
|
VIDEO_WaitVSync ();
|
||||||
|
|
||||||
while (quit == 0)
|
while (quit == 0)
|
||||||
@ -889,11 +898,17 @@ MainMenu (int selectedMenu)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 4:
|
case 4:
|
||||||
|
// turn the dvd motor off (GC only)
|
||||||
|
#ifdef HW_DOL
|
||||||
|
dvd_motor_off ();
|
||||||
|
#endif
|
||||||
|
|
||||||
|
case 5:
|
||||||
// Reset the Gamecube/Wii
|
// Reset the Gamecube/Wii
|
||||||
Reboot();
|
Reboot();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 5:
|
case 6:
|
||||||
ExitToLoader();
|
ExitToLoader();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user