mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
SVP stubs
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@317 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
0ce6e5ee0a
commit
f53f286a8b
11 changed files with 69 additions and 12 deletions
|
@ -632,5 +632,13 @@ void PicoCartDetect(void)
|
|||
// Unusual region 'code'
|
||||
if (rom_strcmp(0x1f0, "EUROPE") == 0)
|
||||
*(int *) (Pico.rom+0x1f0) = 0x20204520;
|
||||
|
||||
// SVP detection
|
||||
if (name_cmp("Virtua Racing") == 0)
|
||||
{
|
||||
PicoSVPInit();
|
||||
PicoRead16Hook = PicoSVPRead16;
|
||||
PicoWrite8Hook = PicoSVPWrite8;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue