mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
new memory handling, but asm and mappers need update.
Some cleanup and magic bit removal as a bonus. git-svn-id: file:///home/notaz/opt/svn/PicoDrive@768 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
c238eec8f5
commit
af37bca858
20 changed files with 1173 additions and 1720 deletions
|
@ -989,7 +989,8 @@ int emu_save_load_game(int load, int sram)
|
|||
}
|
||||
} else {
|
||||
sram_size = SRam.end-SRam.start+1;
|
||||
if(Pico.m.sram_reg & 4) sram_size=0x2000;
|
||||
if (Pico.m.sram_status & SRS_EEPROM)
|
||||
sram_size = 0x2000;
|
||||
sram_data = SRam.data;
|
||||
}
|
||||
if (!sram_data) return 0; // SRam forcefully disabled for this game
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue