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:
LPFaint99
2009-07-18 07:59:31 +00:00
parent ccfc004161
commit 9bc2e789d3
4 changed files with 18 additions and 23 deletions

View File

@ -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);
}

View File

@ -47,6 +47,7 @@ enum
GCSFAIL,
FAIL,
WRITEFAIL,
DELETE_FAIL,
MC_FST_BLOCKS = 0x05,
MBIT_TO_BLOCKS = 0x10,