SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 8df572f92e2388f76913cb838a5160e24196a735 parent b7f03dea8dd98fa90ce5d7c7e8e05ff4cee81362 Author: Lior Halphon <LIJI32@gmail.com> Date: Sun, 9 Jan 2022 15:30:33 +0200 Comment fix Diffstat:
| M | Core/display.c | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Core/display.c b/Core/display.c @@ -167,10 +167,10 @@ void GB_display_vblank(GB_gameboy_t *gb) }; unsigned index = gb->rom? gb->rom[0x14e] % 5 : 0; if (gb->model == GB_MODEL_CGB_0) { - index = 1; // CGB 0 was only available in Indigo! + index = 1; // CGB 0 was only available in indigo! } else if (gb->model == GB_MODEL_CGB_A) { - index = 0; // CGB 0 was only available in Indigo! + index = 0; // CGB A was only available in red! } gb->borrowed_border.palette[0] = LE16(colors[index]); gb->borrowed_border.palette[10] = LE16(colors[5 + index]);
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.