Skip to content

Commit

Permalink
Fix part of RAM not being backed up before taking screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Dec 21, 2023
1 parent 8c00881 commit a365bb7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions retail/cardenginei/arm7/source/inGameMenu.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,7 @@ void inGameMenu(void) {
exitMenu = true;
break;
case 0x50505353: // SSPP
#ifdef TWLSDK
prepareScreenshot();
#endif
break;
case 0x544F4853: // SHOT
saveScreenshot();
Expand Down
2 changes: 0 additions & 2 deletions retail/cardenginei/arm7_dsiware/source/inGameMenu.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,7 @@ void inGameMenu(void) {
exitMenu = true;
break;
case 0x50505353: // SSPP
#ifdef TWLSDK
prepareScreenshot();
#endif
break;
case 0x544F4853: // SHOT
saveScreenshot();
Expand Down
1 change: 1 addition & 0 deletions retail/cardenginei/arm9_igm/source/inGameMenu.c
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ static void screenshot(void) {
while (REG_VCOUNT == 191) mySwiDelay(100);
}
DC_InvalidateRange(&igmText.currentScreenshot, 1);
DC_InvalidateRange((char*)INGAME_MENU_EXT_LOCATION, 0x40000);
#endif
}

Expand Down

0 comments on commit a365bb7

Please sign in to comment.