From d8375a5896e9ebf2d742f884d3229c0e8e3b61d2 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Thu, 20 Jun 2024 22:30:16 -0700 Subject: [PATCH] GBA Memory: Fix affine background timing errors --- src/gba/memory.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/gba/memory.c b/src/gba/memory.c index 62b26b1e3..1ddd2eb99 100644 --- a/src/gba/memory.c +++ b/src/gba/memory.c @@ -1782,42 +1782,42 @@ int32_t GBAMemoryStallVRAM(struct GBA* gba, int32_t wait, int extra) { GBA_VSTALL_T4(0) | GBA_VSTALL_A3, GBA_VSTALL_T4(1) | GBA_VSTALL_A3, GBA_VSTALL_T4(2) | GBA_VSTALL_A2, - GBA_VSTALL_T4(3) | GBA_VSTALL_A3 | GBA_VSTALL_B, + GBA_VSTALL_T4(3) | GBA_VSTALL_A2 | GBA_VSTALL_B, GBA_VSTALL_T4(0) | GBA_VSTALL_A3, GBA_VSTALL_T4(1) | GBA_VSTALL_A3, GBA_VSTALL_T4(2) | GBA_VSTALL_A2, - GBA_VSTALL_T4(3) | GBA_VSTALL_A3 | GBA_VSTALL_B, + GBA_VSTALL_T4(3) | GBA_VSTALL_A2 | GBA_VSTALL_B, GBA_VSTALL_A3, GBA_VSTALL_A3, GBA_VSTALL_A2, - GBA_VSTALL_A3 | GBA_VSTALL_B, + GBA_VSTALL_A2 | GBA_VSTALL_B, GBA_VSTALL_T8(0) | GBA_VSTALL_A3, GBA_VSTALL_T8(1) | GBA_VSTALL_A3, GBA_VSTALL_T8(2) | GBA_VSTALL_A2, - GBA_VSTALL_T8(3) | GBA_VSTALL_A3 | GBA_VSTALL_B, + GBA_VSTALL_T8(3) | GBA_VSTALL_A2 | GBA_VSTALL_B, GBA_VSTALL_A3, GBA_VSTALL_A3, GBA_VSTALL_A2, - GBA_VSTALL_A3 | GBA_VSTALL_B, + GBA_VSTALL_A2 | GBA_VSTALL_B, GBA_VSTALL_T4(0) | GBA_VSTALL_A3, GBA_VSTALL_T4(1) | GBA_VSTALL_A3, GBA_VSTALL_T4(2) | GBA_VSTALL_A2, - GBA_VSTALL_T4(3) | GBA_VSTALL_A3 | GBA_VSTALL_B, + GBA_VSTALL_T4(3) | GBA_VSTALL_A2 | GBA_VSTALL_B, GBA_VSTALL_A3, GBA_VSTALL_A3, GBA_VSTALL_A2, - GBA_VSTALL_A3 | GBA_VSTALL_B, + GBA_VSTALL_A2 | GBA_VSTALL_B, GBA_VSTALL_T8(0) | GBA_VSTALL_A3, GBA_VSTALL_T8(1) | GBA_VSTALL_A3, GBA_VSTALL_T8(2) | GBA_VSTALL_A2, - GBA_VSTALL_T8(3) | GBA_VSTALL_A3 | GBA_VSTALL_B, + GBA_VSTALL_T8(3) | GBA_VSTALL_A2 | GBA_VSTALL_B, }; int32_t until = mTimingUntil(&gba->timing, &gba->video.event);