mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
add big endian platform support
This commit is contained in:
parent
b053cb2044
commit
57c5a5e505
21 changed files with 224 additions and 178 deletions
|
@ -438,7 +438,7 @@ static u32 PicoRead8_sram(u32 a)
|
|||
|
||||
// XXX: this is banking unfriendly
|
||||
if (a < Pico.romsize)
|
||||
return Pico.rom[a ^ 1];
|
||||
return Pico.rom[MEM_BE2(a)];
|
||||
|
||||
return m68k_unmapped_read8(a);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue