notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cyclone path adjustment
[picodrive.git]
/
platform
/
gizmondo
/
emu.c
diff --git
a/platform/gizmondo/emu.c
b/platform/gizmondo/emu.c
index
ee5a105
..
5469c56
100644
(file)
--- a/
platform/gizmondo/emu.c
+++ b/
platform/gizmondo/emu.c
@@
-16,7
+16,7
@@
#include "giz.h"
#include "asm_utils.h"
#include "giz.h"
#include "asm_utils.h"
-#include <
Pico/PicoI
nt.h>
+#include <
pico/pico_i
nt.h>
#ifdef BENCHMARK
#define OSD_FPS_X 220
#ifdef BENCHMARK
#define OSD_FPS_X 220
@@
-390,10
+390,10
@@
static void RunEvents(unsigned int which)
{
int keys;
blit("", (which & 0x1000) ? "LOAD STATE? (PLAY=yes, STOP=no)" : "OVERWRITE SAVE? (PLAY=yes, STOP=no)");
{
int keys;
blit("", (which & 0x1000) ? "LOAD STATE? (PLAY=yes, STOP=no)" : "OVERWRITE SAVE? (PLAY=yes, STOP=no)");
- while( !((keys = Framework_PollGetButtons()) & (
BTN_PLAY|
BTN_STOP)) )
+ while( !((keys = Framework_PollGetButtons()) & (
PBTN_PLAY|P
BTN_STOP)) )
Sleep(50);
Sleep(50);
- if (keys & BTN_STOP) do_it = 0;
- while( ((keys = Framework_PollGetButtons()) & (
BTN_PLAY|
BTN_STOP)) ) // wait for release
+ if (keys &
P
BTN_STOP) do_it = 0;
+ while( ((keys = Framework_PollGetButtons()) & (
PBTN_PLAY|P
BTN_STOP)) ) // wait for release
Sleep(50);
clearArea(0);
}
Sleep(50);
clearArea(0);
}
@@
-449,7
+449,7
@@
static void updateKeys(void)
int i;
keys = Framework_PollGetButtons();
int i;
keys = Framework_PollGetButtons();
- if (keys & BTN_HOME)
+ if (keys &
P
BTN_HOME)
engineState = PGS_Menu;
keys &= CONFIGURABLE_KEYS;
engineState = PGS_Menu;
keys &= CONFIGURABLE_KEYS;