mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-10-26 16:29:37 -04:00
32x and sms savestates. Core-independent z80 state. SS bugfixing/refactoring.
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@868 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
a736af3ecf
commit
b4db550e41
19 changed files with 1116 additions and 848 deletions
|
|
@ -322,7 +322,7 @@ static u32 PicoRead8_sram(u32 a)
|
|||
static u32 PicoRead16_sram(u32 a)
|
||||
{
|
||||
u32 d;
|
||||
if (SRam.end >= a && a >= SRam.start && (Pico.m.sram_reg & SRR_MAPPED))
|
||||
if (SRam.start <= a && a <= SRam.end && (Pico.m.sram_reg & SRR_MAPPED))
|
||||
{
|
||||
if (SRam.flags & SRF_EEPROM)
|
||||
d = EEPROM_read();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue