fixed disappearing in-game save data
This commit is contained in:
parent
4bafdcf75a
commit
a943633e24
2 changed files with 19 additions and 0 deletions
|
|
@ -3019,6 +3019,7 @@ void Menu_quit(void) {
|
||||||
SDL_FreeSurface(menu.overlay);
|
SDL_FreeSurface(menu.overlay);
|
||||||
}
|
}
|
||||||
void Menu_beforeSleep(void) {
|
void Menu_beforeSleep(void) {
|
||||||
|
SRAM_write();
|
||||||
State_autosave();
|
State_autosave();
|
||||||
putFile(AUTO_RESUME_PATH, game.path + strlen(SDCARD_PATH));
|
putFile(AUTO_RESUME_PATH, game.path + strlen(SDCARD_PATH));
|
||||||
POW_setCPUSpeed(CPU_SPEED_MENU);
|
POW_setCPUSpeed(CPU_SPEED_MENU);
|
||||||
|
|
@ -3836,6 +3837,7 @@ static void Menu_loop(void) {
|
||||||
screen = GFX_resize(SCREEN_WIDTH,SCREEN_HEIGHT,SCREEN_PITCH);
|
screen = GFX_resize(SCREEN_WIDTH,SCREEN_HEIGHT,SCREEN_PITCH);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SRAM_write();
|
||||||
POW_warn(0);
|
POW_warn(0);
|
||||||
POW_setCPUSpeed(CPU_SPEED_MENU); // set Hz directly
|
POW_setCPUSpeed(CPU_SPEED_MENU); // set Hz directly
|
||||||
GFX_setVsync(VSYNC_STRICT);
|
GFX_setVsync(VSYNC_STRICT);
|
||||||
|
|
|
||||||
17
todo.txt
17
todo.txt
|
|
@ -5,14 +5,20 @@
|
||||||
Please see the README.txt in the zip file for installation and update instructions.
|
Please see the README.txt in the zip file for installation and update instructions.
|
||||||
|
|
||||||
**Base**
|
**Base**
|
||||||
|
- fixed mistaking bare tag name folders as empty
|
||||||
- removed incomplete hdmi support (won't support codepaths I won't use, ergonomics are all wrong)
|
- removed incomplete hdmi support (won't support codepaths I won't use, ergonomics are all wrong)
|
||||||
- restored low battery overlay
|
- restored low battery overlay
|
||||||
|
- fixed disappearing in-game save data that may occur after quicksave/auto-resume
|
||||||
|
|
||||||
**Extras**
|
**Extras**
|
||||||
-
|
-
|
||||||
|
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
||||||
|
review the original Union for workflows
|
||||||
|
for building multiple platforms
|
||||||
|
from a single make call
|
||||||
|
|
||||||
bugs
|
bugs
|
||||||
-
|
-
|
||||||
|
|
||||||
|
|
@ -106,3 +112,14 @@ keymon
|
||||||
jack
|
jack
|
||||||
instead of manually polling once a second use poll()?
|
instead of manually polling once a second use poll()?
|
||||||
|
|
||||||
|
tired ramblings
|
||||||
|
why did I include the extension in save names?
|
||||||
|
the rare case where one core/TAG emulate multiple platforms with games of the same name but different extension
|
||||||
|
eg. picodrive
|
||||||
|
Sonic The Hedgehog (USA, Europe).md
|
||||||
|
Sonic The Hedgehog (USA, Europe).sms
|
||||||
|
the rare case you have two versions of the same game with different extensions?
|
||||||
|
eg. ffiii.fig / ffiii.sfc / ffiii.smc
|
||||||
|
concerns about removing too much of a filename when stripping the extension and creating collisions that way?
|
||||||
|
or was it just easier to not have to remove the extension when building paths
|
||||||
|
I mean yes but taken in aggregate I think the above issues justify the decision
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue