From 8a79ed02e08570c87dde821e176e34a31d88ac2f Mon Sep 17 00:00:00 2001 From: dborth Date: Wed, 17 Mar 2010 23:20:00 +0000 Subject: [PATCH] update some strings --- source/ngc/filebrowser.cpp | 2 +- source/ngc/fileop.cpp | 10 +++------- source/ngc/networkop.cpp | 4 +--- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/source/ngc/filebrowser.cpp b/source/ngc/filebrowser.cpp index 643b079..a72d861 100644 --- a/source/ngc/filebrowser.cpp +++ b/source/ngc/filebrowser.cpp @@ -501,7 +501,7 @@ int BrowserLoadFile() if (filesize <= 0) { - ErrorPrompt("Error loading ROM!"); + ErrorPrompt("Error loading game!"); } else { diff --git a/source/ngc/fileop.cpp b/source/ngc/fileop.cpp index 0046ef4..9e2dbab 100644 --- a/source/ngc/fileop.cpp +++ b/source/ngc/fileop.cpp @@ -353,7 +353,7 @@ bool MountDVD(bool silent) if(silent) break; - retry = ErrorPromptRetry("Invalid DVD."); + retry = ErrorPromptRetry("Unrecognized DVD format."); } else { @@ -587,7 +587,6 @@ bool ParseDirEntries() int ParseDirectory(bool waitParse) { - char msg[128]; int retry = 1; bool mounted = false; @@ -604,10 +603,7 @@ ParseDirectory(bool waitParse) return -1; if(dirIter == NULL) - { - sprintf(msg, "Error opening %s", browser.dir); - retry = ErrorPromptRetry(msg); - } + retry = ErrorPromptRetry("Error opening directory!"); } // if we can't open the dir, try higher levels @@ -712,7 +708,7 @@ LoadSzFile(char * filepath, unsigned char * rbuffer) } else { - ErrorPrompt("Error opening file"); + ErrorPrompt("Error opening file!"); } // go back to checking if devices were inserted/removed diff --git a/source/ngc/networkop.cpp b/source/ngc/networkop.cpp index 759f936..81bab3c 100644 --- a/source/ngc/networkop.cpp +++ b/source/ngc/networkop.cpp @@ -192,7 +192,6 @@ void InitializeNetwork(bool silent) int retry = 1; char ip[16]; - char msg[150]; s32 initResult; if(!silent) @@ -218,8 +217,7 @@ void InitializeNetwork(bool silent) if(networkInit || silent) break; - sprintf(msg, "Unable to initialize network (Error #: %i)", initResult); - retry = ErrorPromptRetry(msg); + retry = ErrorPromptRetry("Unable to initialize network!"); } // do not automatically attempt a reconnection