gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 0679a7323e9f66c10a05f693df69677835d99160 parent e71fd5350ba35689f87bc7d0b62681438233f444 Author: Toxa <untoxa@mail.ru> Date: Tue, 12 Sep 2023 11:32:55 +0300 SMS/GG: fix gbdecompress cross-platform example for the SMS/GG target Diffstat:
| M | gbdk-lib/examples/cross-platform/gbdecompress/src/main.c | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/gbdk-lib/examples/cross-platform/gbdecompress/src/main.c b/gbdk-lib/examples/cross-platform/gbdecompress/src/main.c @@ -15,6 +15,10 @@ uint8_t buffer[4096]; void main(void) { +#if defined(SEGA) + __WRITE_VDP_REG(VDP_R2, R2_MAP_0x3800); + __WRITE_VDP_REG(VDP_R5, R5_SAT_0x3F00); +#endif // Decompress the map tiles into the background tile vram. // // Notice that the number of tiles isn't specified. The amount
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.