[Core/MD] improved SVP chip auto-detection (based on SVP reverse-engineering from https://github.com/jdesiloniz/svpdev/wiki/Internal-ROM)

This commit is contained in:
ekeeke 2021-02-23 15:59:12 +01:00
parent bc8d1ae2b2
commit 32a2edb6a6
4 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 MiB

After

Width:  |  Height:  |  Size: 3.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 MiB

After

Width:  |  Height:  |  Size: 3.9 MiB

View File

@ -448,7 +448,7 @@ void md_cart_init(void)
SVP CHIP
***********************************************/
svp = NULL;
if (strstr(rominfo.international,"Virtua Racing"))
if ((READ_BYTE(cart.rom, 0x1c8) == 'S') && (READ_BYTE(cart.rom, 0x1c9) == 'V'))
{
svp_init();
}