aboutsummaryrefslogtreecommitdiff
path: root/Source/Menu.c
diff options
context:
space:
mode:
authorXaviDCR92 <xavi.dcr@gmail.com>2017-07-27 07:41:25 +0200
committerXaviDCR92 <xavi.dcr@gmail.com>2017-07-27 07:41:25 +0200
commit153f078ec20cc442dd4dbe802dbd5fcb1748fcca (patch)
treedb82fe5fe9f6165b2239f3523d5f02ec8d9fa02b /Source/Menu.c
parentcb1c0345c766fada621b521ca39aac02ae25056b (diff)
downloadairport-153f078ec20cc442dd4dbe802dbd5fcb1748fcca.tar.gz
* Added comments on System.
* Files needed for Game are now only loaded once, except from LEVEL1.PLT. * Added DevMenu to get debug info. * ISR_LoadMenuVBlank() does not stop when accessing SIO. * On fopen() and SERIAL_INTERFACE defined, "#" is prepended and "@" is appended to filename string.
Diffstat (limited to 'Source/Menu.c')
-rw-r--r--Source/Menu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Menu.c b/Source/Menu.c
index ce54330..d07e06a 100644
--- a/Source/Menu.c
+++ b/Source/Menu.c
@@ -131,7 +131,7 @@ static char* MainMenuFiles[] = { "cdrom:\\DATA\\SPRITES\\MAINMENU.TIM;1" ,
#endif // NO_INTRO
};
-static void * MainMenuDest[] = { (GsSprite*)&MenuSpr ,
+static void* MainMenuDest[] = { (GsSprite*)&MenuSpr ,
(SsVag*)&BellSnd ,
(SsVag*)&AcceptSnd ,
(GsSprite*)&PsxDisk ,
@@ -250,7 +250,7 @@ void MainMenuInit(void)
PadAddCheat(&StackCheckCheat);
- DevMenuCheat.Callback = &GfxDevMenuEnable;
+ DevMenuCheat.Callback = &SystemDevMenuToggle;
memset(DevMenuCheat.Combination, 0 , CHEAT_ARRAY_SIZE);
memcpy( DevMenuCheat.Combination,
@@ -263,7 +263,7 @@ void MainMenuInit(void)
PadAddCheat(&DevMenuCheat);
- SerialCheat.Callback = (void*)0x801A0000;
+ SerialCheat.Callback = &SystemReturnToLoader;
memset(SerialCheat.Combination, 0 , CHEAT_ARRAY_SIZE);
memcpy( SerialCheat.Combination,