aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mednafen/01-fix_help.patch
diff options
context:
space:
mode:
authorAmatCoder <amatcoder@gmail.com>2014-11-06 09:31:25 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-11-13 07:25:58 +0000
commit34ee36a1db91390886e2cd27d991f6770dbd6cfc (patch)
tree41fb78eb6ab00e1c2bfce106dd85b2430da70e8e /testing/mednafen/01-fix_help.patch
parenta772d63f7a1623a9c093ec0d41d56b63744ab7e2 (diff)
downloadaports-34ee36a1db91390886e2cd27d991f6770dbd6cfc.tar.bz2
aports-34ee36a1db91390886e2cd27d991f6770dbd6cfc.tar.xz
testing/mednafen: new aport
Diffstat (limited to 'testing/mednafen/01-fix_help.patch')
-rw-r--r--testing/mednafen/01-fix_help.patch25
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);