Skip to content

Commit

Permalink
Quit Super Attract Mode when rfid is presented (#30)
Browse files Browse the repository at this point in the history
mrchrisster authored Dec 2, 2022

Verified

This commit was signed with the committer’s verified signature. The key has expired.
miri64 Martine Lenders
1 parent 3a709fd commit f0e9f51
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fat/media/Scripts/rfid_util/rfid_process.sh
Original file line number Diff line number Diff line change
@@ -18,5 +18,9 @@ fi

echo "Running: $gamefound"
mpg123 -q /media/fat/Scripts/rfid_util/rfid_process.mp3
sam="/media/fat/Scripts/MiSTer_SAM_on.sh"
if [[ "$(ps -o pid,args | grep '[M]iSTer_SAM_on.sh')" ]]; then
"${sam}" playcurrent
fi
eval "$gamefound"
##

0 comments on commit f0e9f51

Please sign in to comment.