--- hatari/src/cpu/events_normal.h 2019/04/09 08:49:24 1.1.1.1 +++ hatari/src/cpu/events_normal.h 2019/04/09 08:51:55 1.1.1.3 @@ -23,6 +23,7 @@ STATIC_INLINE void events_schedule (void STATIC_INLINE void do_cycles_slow (unsigned long cycles_to_add) { +/* Laurent: not needed, as hatari has it's own events management. if (is_lastline && eventtab[ev_hsync].evtime - currcycle <= cycles_to_add && (long int)(read_processor_time () - vsyncmintime) < 0) return; @@ -39,9 +40,11 @@ STATIC_INLINE void do_cycles_slow (unsig } events_schedule(); } +*/ currcycle += cycles_to_add; } +/* STATIC_INLINE void do_cycles_fast (void) { if (is_lastline && eventtab[ev_hsync].evtime - currcycle <= 1 @@ -61,6 +64,7 @@ STATIC_INLINE void do_cycles_fast (void) } } +*/ /* This is a special-case function. Normally, all events should lie in the future; they should only ever be active at the current cycle during