Comment fix

This commit is contained in:
Lior Halphon 2022-01-09 15:30:33 +02:00
parent b7f03dea8d
commit 8df572f92e

View File

@ -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]);