From: Toni Wilen Date: Fri, 13 Feb 2026 18:34:26 +0000 (+0200) Subject: Fast drawing mode VB fix X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=f9f0b5f3f8fc952f604b34d2a5b02b4d718c2e9a;p=francis%2Fwinuae.git Fast drawing mode VB fix --- diff --git a/custom.cpp b/custom.cpp index 35811804..9fcbc262 100644 --- a/custom.cpp +++ b/custom.cpp @@ -12361,7 +12361,10 @@ static void do_cck(bool docycles) check_bpl_vdiw(); } - check_hsyncs(); + // if returning from fast mode: don't change VB state too early + if (custom_fastmode == 0) { + check_hsyncs(); + } if (agnus_hpos == HARDWIRED_DMA_TRIGGER_HPOS) { if (custom_fastmode < 0) { @@ -12463,9 +12466,8 @@ static void sync_equalline_handler(void) custom_trigger_start(); - check_vsyncs_fast(); - if (eventtab[ev_sync].active) { + check_vsyncs_fast(); check_bpl_vdiw(); do_imm_dmal(); } else {