From 3622168167d35127758fd5bcf9a000fc1df7840a Mon Sep 17 00:00:00 2001 From: dborth Date: Wed, 17 Mar 2010 23:20:08 +0000 Subject: [PATCH] update some strings --- source/ngc/filebrowser.cpp | 2 +- source/ngc/fileop.cpp | 8 +++----- source/ngc/networkop.cpp | 4 +--- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/source/ngc/filebrowser.cpp b/source/ngc/filebrowser.cpp index e54d770..b717e2b 100644 --- a/source/ngc/filebrowser.cpp +++ b/source/ngc/filebrowser.cpp @@ -515,7 +515,7 @@ int BrowserLoadFile() if (SNESROMSize <= 0) { - ErrorPrompt("Error loading ROM!"); + ErrorPrompt("Error loading game!"); } else { diff --git a/source/ngc/fileop.cpp b/source/ngc/fileop.cpp index de10f32..873ab43 100644 --- a/source/ngc/fileop.cpp +++ b/source/ngc/fileop.cpp @@ -354,7 +354,7 @@ bool MountDVD(bool silent) if(silent) break; - retry = ErrorPromptRetry("Invalid DVD."); + retry = ErrorPromptRetry("Unrecognized DVD format."); } else { @@ -588,7 +588,6 @@ bool ParseDirEntries() int ParseDirectory(bool waitParse) { - char msg[128]; int retry = 1; bool mounted = false; @@ -606,8 +605,7 @@ ParseDirectory(bool waitParse) if(dirIter == NULL) { - sprintf(msg, "Error opening %s", browser.dir); - retry = ErrorPromptRetry(msg); + retry = ErrorPromptRetry("Error opening directory!"); } } @@ -713,7 +711,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 0bea67f..bf3cefb 100644 --- a/source/ngc/networkop.cpp +++ b/source/ngc/networkop.cpp @@ -191,7 +191,6 @@ void InitializeNetwork(bool silent) int retry = 1; char ip[16]; - char msg[150]; s32 initResult; if(!silent) @@ -217,8 +216,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