diff options
Diffstat (limited to 'testing/mednafen/01-fix_help.patch')
-rw-r--r-- | testing/mednafen/01-fix_help.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/mednafen/01-fix_help.patch b/testing/mednafen/01-fix_help.patch new file mode 100644 index 0000000000..f05798ebbd --- /dev/null +++ b/testing/mednafen/01-fix_help.patch @@ -0,0 +1,25 @@ +--- origin/src/drivers/main.cpp ++++ mednafen/src/drivers/main.cpp +@@ -696,7 +696,7 @@ + if(argc <= 1) + { + printf(_("No command-line arguments specified.\n\n")); +- printf(usage_string, argv[0]); ++ printf(usage_string, "/usr/bin/mednafen"); + printf(_("\tPlease refer to the documentation for option parameters and usage.\n\n")); + return(0); + } +@@ -713,11 +713,11 @@ + + if(ShowCLHelp) + { +- printf(usage_string, argv[0]); ++ printf(usage_string, "/usr/bin/mednafen"); + ShowArgumentsHelp(MDFNArgs, false); + printf("\n"); + printf(_("Each setting(listed in the documentation) can also be passed as an argument by prefixing the name with a hyphen,\nand specifying the value to change the setting to as the next argument.\n\n")); +- printf(_("For example:\n\t%s -pce.stretch aspect -pce.pixshader autoipsharper \"Hyper Bonk Soldier.pce\"\n\n"), argv[0]); ++ printf(_("For example:\n\t/usr/bin/mednafen -pce.stretch aspect -pce.pixshader autoipsharper \"Hyper Bonk Soldier.pce\"\n\n")); + printf(_("Settings specified in this manner are automatically saved to the configuration file, hence they\ndo not need to be passed to future invocations of the Mednafen executable.\n")); + printf("\n"); + return(0); |