slackbuilds_ponce/games/yae/patches/defaultmasterdisk.diff
B. Watson cc3ee0bbc2 games/yae: Added (Yet another Apple Emulator).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2014-02-01 00:40:30 -06:00

11 lines
456 B
Diff

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++];