From 787e62de0ba80a6646c62f57c680b0e5dd5412ba Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sat, 20 Feb 2021 18:43:48 +0200 Subject: [PATCH] Delay only BPL1DAT writes --- custom.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/custom.cpp b/custom.cpp index 3d79567a..894387aa 100644 --- a/custom.cpp +++ b/custom.cpp @@ -6238,7 +6238,11 @@ static void BPLxDAT_next(uae_u32 v) static void BPLxDAT (int hpos, int num, uae_u16 v) { - event2_newevent2(1, (num << 16) | v, BPLxDAT_next); + if (num == 0) { + event2_newevent2(1, (num << 16) | v, BPLxDAT_next); + } else { + BPLxDAT_next(v); + } if (num == 0 && hpos >= 8) { bpl1dat_written = true; -- 2.47.3