notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
get rid of some CamelCase names
[picodrive.git]
/
platform
/
gizmondo
/
emu.c
diff --git
a/platform/gizmondo/emu.c
b/platform/gizmondo/emu.c
index
e628f06
..
df2092a
100644
(file)
--- a/
platform/gizmondo/emu.c
+++ b/
platform/gizmondo/emu.c
@@
-346,7
+346,7
@@
static void RunEvents(unsigned int which)
FrameworkAudio_SetPause(1);
if (giz_screen == NULL)
giz_screen = fb_lock(1);
FrameworkAudio_SetPause(1);
if (giz_screen == NULL)
giz_screen = fb_lock(1);
- if ( emu_check
SaveF
ile(state_slot) &&
+ if ( emu_check
_save_f
ile(state_slot) &&
(( (which & 0x1000) && (currentConfig.EmuOpt & 0x800)) || // load
(!(which & 0x1000) && (currentConfig.EmuOpt & 0x200))) ) // save
{
(( (which & 0x1000) && (currentConfig.EmuOpt & 0x800)) || // load
(!(which & 0x1000) && (currentConfig.EmuOpt & 0x200))) ) // save
{
@@
-364,7
+364,7
@@
static void RunEvents(unsigned int which)
{
osd_text(4, 232, (which & 0x1000) ? "LOADING GAME" : "SAVING GAME");
PicoStateProgressCB = emu_stateCb;
{
osd_text(4, 232, (which & 0x1000) ? "LOADING GAME" : "SAVING GAME");
PicoStateProgressCB = emu_stateCb;
- emu_
SaveLoadG
ame((which & 0x1000) >> 12, 0);
+ emu_
save_load_g
ame((which & 0x1000) >> 12, 0);
PicoStateProgressCB = NULL;
Sleep(0);
}
PicoStateProgressCB = NULL;
Sleep(0);
}
@@
-399,7
+399,7
@@
static void RunEvents(unsigned int which)
state_slot += 1;
if(state_slot > 9) state_slot = 0;
}
state_slot += 1;
if(state_slot > 9) state_slot = 0;
}
- sprintf(noticeMsg, "SAVE SLOT %i [%s]", state_slot, emu_check
SaveF
ile(state_slot) ? "USED" : "FREE");
+ sprintf(noticeMsg, "SAVE SLOT %i [%s]", state_slot, emu_check
_save_f
ile(state_slot) ? "USED" : "FREE");
noticeMsgTime = GetTickCount();
}
}
noticeMsgTime = GetTickCount();
}
}
@@
-709,7
+709,7
@@
void pemu_loop(void)
// save SRAM
if ((currentConfig.EmuOpt & 1) && SRam.changed) {
emu_stateCb("Writing SRAM/BRAM..");
// save SRAM
if ((currentConfig.EmuOpt & 1) && SRam.changed) {
emu_stateCb("Writing SRAM/BRAM..");
- emu_
SaveLoadG
ame(0, 1);
+ emu_
save_load_g
ame(0, 1);
SRam.changed = 0;
}
}
SRam.changed = 0;
}
}