From b4ffa28a1542d8b8af50d9adfa598ab9975d3a99 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Sun, 25 Aug 2024 18:01:16 +0200 Subject: [PATCH] fix rom.39g --- dist/ROMs/Makefile | 4 ++-- dist/saturn40g | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dist/ROMs/Makefile b/dist/ROMs/Makefile index 4929cc3..75d886a 100644 --- a/dist/ROMs/Makefile +++ b/dist/ROMs/Makefile @@ -36,5 +36,5 @@ rom.49g: rm rom-49g.zip # HP 39g/40g -rom.40g: - curl "https://www.hpcalc.org/hp40/pc/rom3940.zip" --output - | funzip > "rom.40g" +rom.39g: + curl "https://www.hpcalc.org/hp39/pc/rom3940.zip" --output - | funzip > "rom.39g" diff --git a/dist/saturn40g b/dist/saturn40g index e3735bc..614595f 100755 --- a/dist/saturn40g +++ b/dist/saturn40g @@ -5,7 +5,7 @@ STATE_HOME=${XDG_STATE_HOME:-$HOME/.local/state} STATEDIR=$STATE_HOME/saturn/40g mkdir -p "$STATEDIR" -if [ ! -e "$STATEDIR"/rom.40g ]; then +if [ ! -e "$STATEDIR"/rom.39g ]; then if [ ! -d @PREFIX@/share/saturn/ROMs/ ]; then echo "Error: No ROMs/ dir found" exit 1 @@ -13,8 +13,8 @@ if [ ! -e "$STATEDIR"/rom.40g ]; then if [ ! -d "$STATEDIR"/../ROMs ]; then cp -R @PREFIX@/share/saturn/ROMs/ "$STATEDIR"/../ROMs fi - make -C "$STATEDIR"/../ROMs rom.40g - cp "$STATEDIR"/../ROMs/rom.40g "$STATEDIR"/rom.40g + make -C "$STATEDIR"/../ROMs rom.39g + cp "$STATEDIR"/../ROMs/rom.39g "$STATEDIR"/rom.39g fi RAM='' @@ -22,4 +22,4 @@ if [ ! -e "$STATEDIR"/ram ]; then RAM=-reset fi -@PREFIX@/bin/saturn -face hp40 -hw hp40 -stateDir "$STATEDIR" -rom rom.40g $RAM "$@" +@PREFIX@/bin/saturn -face hp40 -hw hp40 -stateDir "$STATEDIR" -rom rom.39g $RAM "$@"