X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2F32x%2F32x.c;h=14d1c8473df12a0c2f404bdb6e24b997e7c966c2;hb=ed06ffd3391ff81fa1f34455f1311ba060a41cac;hp=26162e49582b7a4c5289d723e9c808cb71163870;hpb=a6523294e28d7e6c119a578eb65b91af8da77f8d;p=picodrive.git diff --git a/pico/32x/32x.c b/pico/32x/32x.c index 26162e4..14d1c84 100644 --- 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] = { - [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 @@ -363,7 +363,7 @@ static void p32x_run_events(unsigned int until) 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;