mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-12-28 12:11:50 +01:00
fixed regression that prevents SRAM data > 2K to be loaded properly
This commit is contained in:
parent
9eadfc41b3
commit
180317a392
@ -131,7 +131,7 @@ static int FAT_ManageFile(char *filename, u8 direction, u8 filetype)
|
|||||||
|
|
||||||
if (filetype) /* SRAM */
|
if (filetype) /* SRAM */
|
||||||
{
|
{
|
||||||
memcpy(sram.sram, savebuffer, filesize);
|
memcpy(sram.sram, savebuffer, done);
|
||||||
sram.crc = crc32 (0, sram.sram, 0x10000);
|
sram.crc = crc32 (0, sram.sram, 0x10000);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user