From 04a9438898ba0e43acb39b8d8ae5cb3f06e9265c Mon Sep 17 00:00:00 2001 From: Chris Pressey Date: Wed, 10 Apr 2019 16:53:01 +0100 Subject: [PATCH] The VICE emulators just keep going if they can't find the vicerc. --- eg/rudiments/loadngo.sh | 12 ++---------- loadngo.sh | 12 ++---------- 2 files changed, 4 insertions(+), 20 deletions(-) diff --git a/eg/rudiments/loadngo.sh b/eg/rudiments/loadngo.sh index 8fdb811..9b7d98a 100755 --- a/eg/rudiments/loadngo.sh +++ b/eg/rudiments/loadngo.sh @@ -6,18 +6,10 @@ arch="$1" shift 1 if [ "X$arch" = "Xc64" ]; then output_format='c64-basic-prg' - if [ -e vicerc ]; then - emu="x64 -config vicerc" - else - emu="x64" - fi + emu="x64 -config vicerc" elif [ "X$arch" = "Xvic20" ]; then output_format='vic20-basic-prg' - if [ -e vicerc ]; then - emu="xvic -config vicerc" - else - emu="xvic" - fi + emu="xvic -config vicerc" else echo $usage && exit 1 fi diff --git a/loadngo.sh b/loadngo.sh index b2d6461..c87b359 100755 --- a/loadngo.sh +++ b/loadngo.sh @@ -6,18 +6,10 @@ arch="$1" shift 1 if [ "X$arch" = "Xc64" ]; then output_format='c64-basic-prg' - if [ -e vicerc ]; then - emu="x64 -config vicerc" - else - emu="x64" - fi + emu="x64 -config vicerc" elif [ "X$arch" = "Xvic20" ]; then output_format='vic20-basic-prg' - if [ -e vicerc ]; then - emu="xvic -config vicerc" - else - emu="xvic" - fi + emu="xvic -config vicerc" elif [ "X$arch" = "Xatari2600" ]; then output_format='atari2600-cart' emu='stella'