mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 17:19:44 -06:00
Memcard Manager:change error message for delete failure and remove unnecessary #defines
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3829 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -671,7 +671,7 @@ u32 GCMemcard::RemoveFile(u8 index) //index in the directory array
|
||||
for (int i = 0; i < DIRLEN; i++)
|
||||
{
|
||||
if (startingblock > BE16(dir.Dir[i].FirstBlock))
|
||||
return FAIL;
|
||||
return DELETE_FAIL;
|
||||
startingblock = BE16(dir.Dir[i].FirstBlock);
|
||||
}
|
||||
|
||||
|
@ -47,6 +47,7 @@ enum
|
||||
GCSFAIL,
|
||||
FAIL,
|
||||
WRITEFAIL,
|
||||
DELETE_FAIL,
|
||||
|
||||
MC_FST_BLOCKS = 0x05,
|
||||
MBIT_TO_BLOCKS = 0x10,
|
||||
|
Reference in New Issue
Block a user