From 85da5b64d30cd30c503c1e29c4d22768aec6969e Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Sat, 9 Oct 2021 22:02:40 +0300 Subject: [PATCH] Some games like racing the SGB --- Core/sgb.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Core/sgb.c b/Core/sgb.c index ee925a8d..65800820 100644 --- a/Core/sgb.c +++ b/Core/sgb.c @@ -375,7 +375,7 @@ static void command_ready(GB_gameboy_t *gb) } break; case PAL_TRN: - gb->sgb->vram_transfer_countdown = 2; + gb->sgb->vram_transfer_countdown = 3; gb->sgb->transfer_dest = TRANSFER_PALETTES; break; case DATA_SND: @@ -390,15 +390,15 @@ static void command_ready(GB_gameboy_t *gb) gb->sgb->current_player &= (gb->sgb->player_count - 1); break; case CHR_TRN: - gb->sgb->vram_transfer_countdown = 2; + gb->sgb->vram_transfer_countdown = 3; gb->sgb->transfer_dest = (gb->sgb->command[1] & 1)? TRANSFER_HIGH_TILES : TRANSFER_LOW_TILES; break; case PCT_TRN: - gb->sgb->vram_transfer_countdown = 2; + gb->sgb->vram_transfer_countdown = 3; gb->sgb->transfer_dest = TRANSFER_BORDER_DATA; break; case ATTR_TRN: - gb->sgb->vram_transfer_countdown = 2; + gb->sgb->vram_transfer_countdown = 3; gb->sgb->transfer_dest = TRANSFER_ATTRIBUTES; break; case ATTR_SET: