mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
Fix SH2 DRC for x86 (32 bit) builds
Turns out it doesn't work on my machine, perhaps due to newer gcc being... unlucky! See issue #27 for more info. Also, this fixes issue #27.
This commit is contained in:
parent
1ea898e5d7
commit
9984a81906
1 changed files with 1 additions and 1 deletions
|
@ -1868,7 +1868,7 @@ static void REGPARM(3) sh2_write32_rom(u32 a, u32 d, SH2 *sh2)
|
|||
sh2_write16_rom(a + 2, d, sh2);
|
||||
}
|
||||
|
||||
typedef u32 (sh2_read_handler)(u32 a, SH2 *sh2);
|
||||
typedef u32 REGPARM(2) (sh2_read_handler)(u32 a, SH2 *sh2);
|
||||
typedef void REGPARM(3) (sh2_write_handler)(u32 a, u32 d, SH2 *sh2);
|
||||
|
||||
#define SH2MAP_ADDR2OFFS_R(a) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue