mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
a few more changes, you can now set a default memcard to load, error messages made a bit more clear
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1601 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -100,7 +100,7 @@ GCMemcard::GCMemcard(const char *filename)
|
||||
fail = false;
|
||||
if (!mcd)
|
||||
{
|
||||
if (!PanicYesNo("File does not exist.\n Create a new 16MB Memcard?"))
|
||||
if (!PanicYesNo("\"%s\" does not exist.\n Create a new 16MB Memcard?", filename))
|
||||
{
|
||||
fail = true;
|
||||
return;
|
||||
@ -124,7 +124,7 @@ GCMemcard::GCMemcard(const char *filename)
|
||||
if (strcasecmp(fileType.c_str(), ".raw") && strcasecmp(fileType.c_str(), ".gcp"))
|
||||
{
|
||||
fail = true;
|
||||
PanicAlert("File does not have a valid extension (.raw/.gcp)");
|
||||
PanicAlert("File has the extension \"%s\"\nvalid extensions are (.raw/.gcp)", fileType.c_str());
|
||||
return;
|
||||
}
|
||||
}
|
||||
@ -241,7 +241,7 @@ GCMemcard::GCMemcard(const char *filename)
|
||||
else
|
||||
{
|
||||
fail = true;
|
||||
PanicAlert("Memcard failed to load\n Card size is invalid");
|
||||
PanicAlert("Memcard failed to load\n Card size is invalid (%04X)", size);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user