Added message, in gamecube mode reading is too slow and it seems like the app crashed when reading big memory card images (64/128 megabits), when it's actually reading the file.

This commit is contained in:
sulokutdcmago
2012-09-06 13:18:59 +00:00
parent 4a5dda6990
commit c544f74fea

View File

@@ -322,6 +322,7 @@ s8 RestoreRawImage( s32 slot, char *sdfilename, s32 *bytes_writen )
if (!erase)
{
ShowAction ("Reading data...");
if ((lSize-64) == BlockCount*SectorSize) fseek(dumpFd, 64, SEEK_SET);
fread(CardBuffer,BlockCount*0x2000,1,dumpFd);
fclose(dumpFd);