mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -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
|
@ -439,6 +439,9 @@ static unsigned char *PicoCartAlloc(int filesize, int is_sms)
|
|||
if (filesize > (1 << s))
|
||||
s++;
|
||||
rom_alloc_size = 1 << s;
|
||||
// be sure we can cover all address space
|
||||
if (rom_alloc_size < 0x10000)
|
||||
rom_alloc_size = 0x10000;
|
||||
}
|
||||
else {
|
||||
// make alloc size at least sizeof(mcd_state),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue