GB: Support CGB0 boot ROM loading

This commit is contained in:
Vicki Pfau 2022-09-12 18:12:11 -07:00
parent 6822e04c08
commit 2912bd2d07
2 changed files with 3 additions and 0 deletions

View File

@ -78,6 +78,7 @@ Misc:
- Debugger: GDB now works while the game is paused
- Debugger: Add command to load external symbol file (fixes mgba.io/i/2480)
- FFmpeg: Support dynamic audio sample rate
- GB: Support CGB0 boot ROM loading
- GB Audio: Increase sample rate
- GB MBC: Filter out MBC errors when cartridge is yanked (fixes mgba.io/i/2488)
- GB MBC: Partially implement TAMA5 RTC

View File

@ -33,6 +33,7 @@ static const uint8_t _registeredTrademark[] = {0x3C, 0x42, 0xB9, 0xA5, 0xB9, 0xA
#define SGB_BIOS_CHECKSUM 0xEC8A83B9
#define SGB2_BIOS_CHECKSUM 0X53D0DD63
#define CGB_BIOS_CHECKSUM 0x41884E46
#define CGB0_BIOS_CHECKSUM 0xE8EF5318
#define AGB_BIOS_CHECKSUM 0xFFD6B0F1
mLOG_DEFINE_CATEGORY(GB, "GB", "gb");
@ -513,6 +514,7 @@ bool GBIsBIOS(struct VFile* vf) {
case SGB_BIOS_CHECKSUM:
case SGB2_BIOS_CHECKSUM:
case CGB_BIOS_CHECKSUM:
case CGB0_BIOS_CHECKSUM:
case AGB_BIOS_CHECKSUM:
return true;
default: