summaryrefslogtreecommitdiff
path: root/games/yae/patches/defaultmasterdisk.diff
blob: f45b1118c3340c45c06fc177eeac52b645e0f7de (plain)
1
2
3
4
5
6
7
8
9
10
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++];