mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
md, minor cleanup for region code handling
This commit is contained in:
parent
6a996613a9
commit
7cbd42bc54
2 changed files with 7 additions and 5 deletions
|
@ -1341,10 +1341,6 @@ static void PicoCartDetect(const char *carthw_cfg)
|
|||
memset(Pico.sv.data, 0xff, Pico.sv.size);
|
||||
}
|
||||
|
||||
// Unusual region 'code'
|
||||
if (rom_strcmp(0x1f0, "EUROPE") == 0 || rom_strcmp(0x1f0, "Europe") == 0)
|
||||
*(u32 *) (Pico.rom + 0x1f0) = CPU_LE4(0x20204520);
|
||||
|
||||
// tweak for Blackthorne: master SH2 overwrites stack of slave SH2 being in PWM
|
||||
// interrupt. On real hardware, nothing happens since slave fetches the values
|
||||
// it has written from its cache, but picodrive doesn't emulate caching.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue