Some games like racing the SGB
This commit is contained in:
parent
a7c8b702da
commit
85da5b64d3
@ -375,7 +375,7 @@ static void command_ready(GB_gameboy_t *gb)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case PAL_TRN:
|
case PAL_TRN:
|
||||||
gb->sgb->vram_transfer_countdown = 2;
|
gb->sgb->vram_transfer_countdown = 3;
|
||||||
gb->sgb->transfer_dest = TRANSFER_PALETTES;
|
gb->sgb->transfer_dest = TRANSFER_PALETTES;
|
||||||
break;
|
break;
|
||||||
case DATA_SND:
|
case DATA_SND:
|
||||||
@ -390,15 +390,15 @@ static void command_ready(GB_gameboy_t *gb)
|
|||||||
gb->sgb->current_player &= (gb->sgb->player_count - 1);
|
gb->sgb->current_player &= (gb->sgb->player_count - 1);
|
||||||
break;
|
break;
|
||||||
case CHR_TRN:
|
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;
|
gb->sgb->transfer_dest = (gb->sgb->command[1] & 1)? TRANSFER_HIGH_TILES : TRANSFER_LOW_TILES;
|
||||||
break;
|
break;
|
||||||
case PCT_TRN:
|
case PCT_TRN:
|
||||||
gb->sgb->vram_transfer_countdown = 2;
|
gb->sgb->vram_transfer_countdown = 3;
|
||||||
gb->sgb->transfer_dest = TRANSFER_BORDER_DATA;
|
gb->sgb->transfer_dest = TRANSFER_BORDER_DATA;
|
||||||
break;
|
break;
|
||||||
case ATTR_TRN:
|
case ATTR_TRN:
|
||||||
gb->sgb->vram_transfer_countdown = 2;
|
gb->sgb->vram_transfer_countdown = 3;
|
||||||
gb->sgb->transfer_dest = TRANSFER_ATTRIBUTES;
|
gb->sgb->transfer_dest = TRANSFER_ATTRIBUTES;
|
||||||
break;
|
break;
|
||||||
case ATTR_SET:
|
case ATTR_SET:
|
||||||
|
Loading…
Reference in New Issue
Block a user