gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit ec54213e86fa398fbe3bb170eb11bb134e1a00a0 parent 1a9c89ac831d6c3e2432130997922f976ab6edef Author: Toxa <untoxa@mail.ru> Date: Mon, 2 May 2022 12:37:58 +0300 fix sgb_multiplayer example on PAL SNES Diffstat:
| M | gbdk-lib/examples/gb/sgb_multiplayer/sgb_multiplayer.c | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/gbdk-lib/examples/gb/sgb_multiplayer/sgb_multiplayer.c b/gbdk-lib/examples/gb/sgb_multiplayer/sgb_multiplayer.c @@ -20,6 +20,10 @@ void main(void) { } SHOW_SPRITES; + // Wait 4 frames + // For SGB on PAL SNES this delay is required on startup, otherwise borders don't show up + for (uint8_t i = 4; i != 0; i--) wait_vbl_done(); + // init joypads joypad_init(4, &joypads);
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.