mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-11-10 21:05:12 +01:00
Revert memory card write simplification for Wii
This commit is contained in:
parent
a0d68063ae
commit
7f88a7c7f8
@ -808,7 +808,16 @@ int slot_save(int slot, int device)
|
|||||||
CARD_SetStatus(device, CardFile.filenum, &CardStatus);
|
CARD_SetStatus(device, CardFile.filenum, &CardStatus);
|
||||||
|
|
||||||
/* Write file sectors */
|
/* Write file sectors */
|
||||||
|
#ifdef HW_RVL
|
||||||
|
while (filesize > 0)
|
||||||
|
{
|
||||||
|
CARD_Write(&CardFile, &out[done], SectorSize, done);
|
||||||
|
filesize -= SectorSize;
|
||||||
|
done += SectorSize;
|
||||||
|
}
|
||||||
|
#else
|
||||||
CARD_Write(&CardFile, &out[done], filesize, done);
|
CARD_Write(&CardFile, &out[done], filesize, done);
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Close file */
|
/* Close file */
|
||||||
CARD_Close(&CardFile);
|
CARD_Close(&CardFile);
|
||||||
|
Loading…
Reference in New Issue
Block a user