[Core/MD] fixed large ROM (> 8MB) loading accidentally enabling CD hardware emulation

This commit is contained in:
EkeEke 2015-12-15 22:52:17 +01:00
parent 6b1d80b6a0
commit 8a5cce4e8d
4 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 MiB

After

Width:  |  Height:  |  Size: 3.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 MiB

After

Width:  |  Height:  |  Size: 3.3 MiB

View File

@ -725,8 +725,8 @@ int load_rom(char *filename)
system_bios = (system_bios & 0xf0) | (region_code >> 4); system_bios = (system_bios & 0xf0) | (region_code >> 4);
} }
/* ROM cartridge with CD loaded */ /* ROM cartridge (max. 8MB) with CD loaded */
else if (cdd.loaded) else if ((cart.romsize <= 0x800000) && cdd.loaded)
{ {
/* try to load CD BOOTROM */ /* try to load CD BOOTROM */
if (load_bios(SYSTEM_MCD)) if (load_bios(SYSTEM_MCD))