Skip to content

Commit

Permalink
Typo fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgiven committed Dec 19, 2023
1 parent 2d0523a commit d4fabe5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/arch/commodore/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ def mkcbmfs(self, name, items: TargetsMap = {}, title="CBMFS", id=None):
target="pet4032",
diskimage=".+pet4032_diskimage",
imagetype=".d64",
runscript="./pet-mame-test.sh",
script="./pet-mame-test.lua",
)

Expand Down
7 changes: 7 additions & 0 deletions src/arch/commodore/pet-mame-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh
set -e

diskimage=/tmp/$$.$4
trap "rm -f $diskimage" EXIT
cp $2 $diskimage
SDL_VIDEODRIVER=dummy SDL_AUDIODRIVER=dummy chronic mame $1 -ieee8 c4040 -flop1 $diskimage -video none -autoboot_script $3 -nothrottle -nosleep -snapshot_directory snap -sound none -rompath roms

0 comments on commit d4fabe5

Please sign in to comment.