aboutsummaryrefslogtreecommitdiff
path: root/games/yae/patches/defaultmasterdisk.diff
diff options
context:
space:
mode:
Diffstat (limited to 'games/yae/patches/defaultmasterdisk.diff')
-rw-r--r--games/yae/patches/defaultmasterdisk.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/yae/patches/defaultmasterdisk.diff b/games/yae/patches/defaultmasterdisk.diff
new file mode 100644
index 0000000000000..f45b1118c3340
--- /dev/null
+++ b/games/yae/patches/defaultmasterdisk.diff
@@ -0,0 +1,11 @@
+diff -Naur yae-0.7/main.c yae-0.7.patched/main.c
+--- yae-0.7/main.c 2007-04-03 17:48:36.000000000 -0400
++++ yae-0.7.patched/main.c 2013-08-28 19:20:59.000000000 -0400
+@@ -95,6 +95,7 @@
+ processOptions(argc,argv);
+
+ /* mount disks */
++ if (optind == argc) disk_name[6][0]="/usr/share/yae/Master.dsk";
+ if (optind<argc) disk_name[6][0]=argv[optind++];
+ if (optind<argc) disk_name[6][1]=argv[optind++];
+ if (optind<argc) disk_name[5][0]=argv[optind++];