mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
mcd, preparations for msu support
This commit is contained in:
parent
178a9b683c
commit
02ff025479
15 changed files with 153 additions and 170 deletions
|
@ -726,11 +726,6 @@ static unsigned char *PicoCartAlloc(int filesize, int is_sms)
|
|||
rom_alloc_size = 0x10000;
|
||||
}
|
||||
else {
|
||||
// make alloc size at least sizeof(mcd_state),
|
||||
// in case we want to switch to CD mode
|
||||
if (filesize < sizeof(mcd_state))
|
||||
filesize = sizeof(mcd_state);
|
||||
|
||||
// align to 512K for memhandlers
|
||||
rom_alloc_size = (filesize + 0x7ffff) & ~0x7ffff;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue