SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 215a690e92955979880115ffce7e71bb160082cc parent 1d5cb77464b4b7d2a40b897526e07211a9ec4ab7 Author: Lior Halphon <LIJI32@gmail.com> Date: Sun, 8 Dec 2024 16:15:00 +0200 Don't display this warning on MBC2/7 games Diffstat:
| M | Core/mbc.c | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Core/mbc.c b/Core/mbc.c @@ -229,7 +229,9 @@ void GB_configure_cart(GB_gameboy_t *gb) } } - if (gb->mbc_ram_size && gb->mbc_ram_size < 0x2000) { + if (gb->mbc_ram_size && gb->mbc_ram_size < 0x2000 && + gb->cartridge_type->mbc_type != GB_MBC2 && + gb->cartridge_type->mbc_type != GB_MBC7) { GB_log(gb, "This ROM requests a RAM size smaller than a bank, it may misbehave if this was not done intentionally.\n"); }
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.