mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 14:18:37 +00:00
BASE: Print error messages on invalid command line parameters again
The condition was accidentally inverted when the Symbian port was removed, I belive.
This commit is contained in:
parent
111c045994
commit
78c8bd2fbf
@ -55,7 +55,7 @@ namespace Base {
|
||||
|
||||
#ifndef DISABLE_COMMAND_LINE
|
||||
|
||||
#if defined(__DS__)
|
||||
#if !defined(__DS__)
|
||||
static const char USAGE_STRING[] =
|
||||
"%s: %s\n"
|
||||
"Usage: %s [OPTIONS]... [GAME]\n"
|
||||
@ -248,7 +248,7 @@ static void usage(const char *s, ...) {
|
||||
vsnprintf(buf, STRINGBUFLEN, s, va);
|
||||
va_end(va);
|
||||
|
||||
#if defined(__DS__)
|
||||
#if !defined(__DS__)
|
||||
printf(USAGE_STRING, s_appName, buf, s_appName, s_appName);
|
||||
#endif
|
||||
exit(1);
|
||||
|
Loading…
Reference in New Issue
Block a user