Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Nov 18, 2024
1 parent 8224d48 commit 273e257
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion retail/cardenginei/arm7/source/inGameMenu.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ void inGameMenu(void) {
exitMenu = true;
timeTillStatusRefresh = 7;
unloadInGameMenu();
sharedAddr[5] = flagBak;
#ifdef TWLSDK
i2cWriteRegister(0x4A, 0x12, 0x01);
#endif
Expand All @@ -151,6 +152,8 @@ void inGameMenu(void) {
break;
case 0x444D4152: // RAMD
dumpRam();
unloadInGameMenu();
sharedAddr[5] = flagBak;
exitMenu = true;
break;
/* case 0x50455453: // STEP
Expand Down Expand Up @@ -220,11 +223,11 @@ void inGameMenu(void) {

sharedAddr[0] = errorBak;
sharedAddr[4] = 0;
sharedAddr[5] = flagBak;
sharedAddr[7] -= 0x10000000; // Clear time receive flag
timeTillStatusRefresh = 7;

unloadInGameMenu();
sharedAddr[5] = flagBak;

leaveCriticalSection(oldIME);
REG_MASTER_VOLUME = 127;
Expand Down
1 change: 1 addition & 0 deletions retail/cardenginei/arm7_dsiware/source/inGameMenu.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ void inGameMenu(void) {
break;
case 0x444D4152: // RAMD
dumpRam();
unloadInGameMenu();
exitMenu = true;
break;
/* case 0x50455453: // STEP
Expand Down

0 comments on commit 273e257

Please sign in to comment.