notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(MSVC) Compatibility fixes
[picodrive.git]
/
pico
/
32x
/
32x.c
diff --git
a/pico/32x/32x.c
b/pico/32x/32x.c
index
26162e4
..
14d1c84
100644
(file)
--- a/
pico/32x/32x.c
+++ b/
pico/32x/32x.c
@@
-294,9
+294,9
@@
typedef void (event_cb)(unsigned int now);
unsigned int p32x_event_times[P32X_EVENT_COUNT];
static unsigned int event_time_next;
static event_cb *p32x_event_cbs[P32X_EVENT_COUNT] = {
unsigned int p32x_event_times[P32X_EVENT_COUNT];
static unsigned int event_time_next;
static event_cb *p32x_event_cbs[P32X_EVENT_COUNT] = {
-
[P32X_EVENT_PWM] =
p32x_pwm_irq_event,
-
[P32X_EVENT_FILLEND] =
fillend_event,
-
[P32X_EVENT_HINT] =
hint_event,
+ p32x_pwm_irq_event,
+ fillend_event,
+ hint_event,
};
// schedule event at some time 'after', in m68k clocks
};
// schedule event at some time 'after', in m68k clocks
@@
-363,7
+363,7
@@
static void p32x_run_events(unsigned int until)
oldest, event_time_next);
}
oldest, event_time_next);
}
-static
inline
void run_sh2(SH2 *sh2, int m68k_cycles)
+static
INLINE
void run_sh2(SH2 *sh2, int m68k_cycles)
{
int cycles, done;
{
int cycles, done;