GBA Memory: Fix affine background timing errors

This commit is contained in:
Vicki Pfau 2024-06-20 22:30:16 -07:00
parent 9318e9b2cb
commit d8375a5896
1 changed files with 8 additions and 8 deletions

View File

@ -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);