Revert "GB: Downgrade DMG-only ROMs from CGB mode even without boot ROM"

This reverts commit 2c9dd238cc.
This commit is contained in:
Vicki Pfau 2020-11-21 20:31:45 -08:00
parent 2c9dd238cc
commit 2622a1a163
2 changed files with 0 additions and 6 deletions

View File

@ -1,7 +1,6 @@
0.8.5: (Future)
Emulation fixes:
- ARM: Fix Addressing mode 1 shifter on rs == pc (fixes mgba.io/i/1926)
- GB: Downgrade DMG-only ROMs from CGB mode even without boot ROM
- GBA Memory: Mark Famicom Mini games 22 through 28 as non-mirroring
Other fixes:
- CMake: Fix build with downstream minizip that exports incompatible symbols

View File

@ -481,11 +481,6 @@ void GBSkipBIOS(struct GB* gb) {
const struct GBCartridge* cart = (const struct GBCartridge*) &gb->memory.rom[0x100];
int nextDiv = 0;
if (gb->model >= GB_MODEL_CGB && !(cart->cgb & 0x80)) {
gb->model = GB_MODEL_DMG;
GBVideoDisableCGB(&gb->video);
}
switch (gb->model) {
case GB_MODEL_AUTODETECT: // Silence warnings
gb->model = GB_MODEL_DMG;