notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
anti-tear modes for Wiz
[picodrive.git]
/
platform
/
psp
/
emu.c
diff --git
a/platform/psp/emu.c
b/platform/psp/emu.c
index
9e299ea
..
929c608
100644
(file)
--- a/
platform/psp/emu.c
+++ b/
platform/psp/emu.c
@@
-76,7
+76,7
@@
static void osd_text(int x, const char *text, int is_active, int clear_all)
memset32_uncached(p, 0, len);
}
if (is_active) { tmp = psp_screen; psp_screen = screen; } // nasty pointer tricks
memset32_uncached(p, 0, len);
}
if (is_active) { tmp = psp_screen; psp_screen = screen; } // nasty pointer tricks
- emu_text
O
ut16(x, 264, text);
+ emu_text
_o
ut16(x, 264, text);
if (is_active) psp_screen = tmp;
}
if (is_active) psp_screen = tmp;
}
@@
-409,7
+409,7
@@
static void dbg_text(void)
p = (int *) ((int)p & ~3); // align
memset32_uncached(p, 0, len);
}
p = (int *) ((int)p & ~3); // align
memset32_uncached(p, 0, len);
}
- emu_text
O
ut16(2, 256, text);
+ emu_text
_o
ut16(2, 256, text);
}
#endif
}
#endif
@@
-748,7
+748,7
@@
static void RunEvents(unsigned int which)
{
int do_it = 1;
{
int do_it = 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
{
@@
-767,7
+767,7
@@
static void RunEvents(unsigned int which)
{
osd_text(4, (which & 0x1000) ? "LOADING GAME" : "SAVING GAME", 1, 0);
PicoStateProgressCB = emu_msg_cb;
{
osd_text(4, (which & 0x1000) ? "LOADING GAME" : "SAVING GAME", 1, 0);
PicoStateProgressCB = emu_msg_cb;
- emu_
SaveLoadG
ame((which & 0x1000) >> 12, 0);
+ emu_
save_load_g
ame((which & 0x1000) >> 12, 0);
PicoStateProgressCB = NULL;
psp_msleep(0);
}
PicoStateProgressCB = NULL;
psp_msleep(0);
}
@@
-796,7
+796,7
@@
static void RunEvents(unsigned int which)
if(state_slot > 9) state_slot = 0;
}
plat_status_msg("SAVE SLOT %i [%s]", state_slot,
if(state_slot > 9) state_slot = 0;
}
plat_status_msg("SAVE SLOT %i [%s]", state_slot,
- emu_check
SaveF
ile(state_slot) ? "USED" : "FREE");
+ emu_check
_save_f
ile(state_slot) ? "USED" : "FREE");
}
}
}
}
@@
-825,7
+825,7
@@
static void updateKeys(void)
events = (allActions[0] | allActions[1]) >> 16;
if ((events ^ prevEvents) & 0x40) {
events = (allActions[0] | allActions[1]) >> 16;
if ((events ^ prevEvents) & 0x40) {
- emu_
changeFastF
orward(events & 0x40);
+ emu_
set_fastf
orward(events & 0x40);
reset_timing = 1;
}
reset_timing = 1;
}
@@
-1039,7
+1039,7
@@
void pemu_loop(void)
}
}
- emu_
changeFastF
orward(0);
+ emu_
set_fastf
orward(0);
if (PicoAHW & PAHW_MCD) PicoCDBufferFree();
if (PicoAHW & PAHW_MCD) PicoCDBufferFree();
@@
-1051,7
+1051,7
@@
void pemu_loop(void)
// save SRAM
if ((currentConfig.EmuOpt & 1) && SRam.changed) {
emu_msg_cb("Writing SRAM/BRAM..");
// save SRAM
if ((currentConfig.EmuOpt & 1) && SRam.changed) {
emu_msg_cb("Writing SRAM/BRAM..");
- emu_
SaveLoadG
ame(0, 1);
+ emu_
save_load_g
ame(0, 1);
SRam.changed = 0;
}
SRam.changed = 0;
}