update some strings

This commit is contained in:
dborth 2010-03-17 23:20:00 +00:00
parent 0ea8ee9d6e
commit 8a79ed02e0
3 changed files with 5 additions and 11 deletions

View File

@ -501,7 +501,7 @@ int BrowserLoadFile()
if (filesize <= 0) if (filesize <= 0)
{ {
ErrorPrompt("Error loading ROM!"); ErrorPrompt("Error loading game!");
} }
else else
{ {

View File

@ -353,7 +353,7 @@ bool MountDVD(bool silent)
if(silent) if(silent)
break; break;
retry = ErrorPromptRetry("Invalid DVD."); retry = ErrorPromptRetry("Unrecognized DVD format.");
} }
else else
{ {
@ -587,7 +587,6 @@ bool ParseDirEntries()
int int
ParseDirectory(bool waitParse) ParseDirectory(bool waitParse)
{ {
char msg[128];
int retry = 1; int retry = 1;
bool mounted = false; bool mounted = false;
@ -604,10 +603,7 @@ ParseDirectory(bool waitParse)
return -1; return -1;
if(dirIter == NULL) if(dirIter == NULL)
{ retry = ErrorPromptRetry("Error opening directory!");
sprintf(msg, "Error opening %s", browser.dir);
retry = ErrorPromptRetry(msg);
}
} }
// if we can't open the dir, try higher levels // if we can't open the dir, try higher levels
@ -712,7 +708,7 @@ LoadSzFile(char * filepath, unsigned char * rbuffer)
} }
else else
{ {
ErrorPrompt("Error opening file"); ErrorPrompt("Error opening file!");
} }
// go back to checking if devices were inserted/removed // go back to checking if devices were inserted/removed

View File

@ -192,7 +192,6 @@ void InitializeNetwork(bool silent)
int retry = 1; int retry = 1;
char ip[16]; char ip[16];
char msg[150];
s32 initResult; s32 initResult;
if(!silent) if(!silent)
@ -218,8 +217,7 @@ void InitializeNetwork(bool silent)
if(networkInit || silent) if(networkInit || silent)
break; break;
sprintf(msg, "Unable to initialize network (Error #: %i)", initResult); retry = ErrorPromptRetry("Unable to initialize network!");
retry = ErrorPromptRetry(msg);
} }
// do not automatically attempt a reconnection // do not automatically attempt a reconnection