gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 5132411d7ed50462dd4d5bf343944c14ee336cdc parent 6377b7f944b56969533c9be74ba555dd400b31dc Author: Toxa <untoxa@mail.ru> Date: Sun, 10 Sep 2023 14:12:01 +0300 SMS/GG EXAMPLES: fix large map example, tiles were overlapping the VDP name table Diffstat:
| M | gbdk-lib/examples/cross-platform/large_map/src/large_map.c | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/gbdk-lib/examples/cross-platform/large_map/src/large_map.c b/gbdk-lib/examples/cross-platform/large_map/src/large_map.c @@ -179,6 +179,8 @@ void main(void){ set_native_tile_data(0, bigmap_TILE_COUNT, bigmap_tiles); #if defined(SEGA) + __WRITE_VDP_REG(VDP_R2, R2_MAP_0x3800); + __WRITE_VDP_REG(VDP_R5, R5_SAT_0x3F00); set_palette(0, bigmap_PALETTE_COUNT, bigmap_palettes); #elif defined(GAMEBOY) if (_cpu == CGB_TYPE) {
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.