ngp_launch.sh 259 B

12345678910
  1. #!/bin/sh
  2. cp /usr/games/mednafen-09x.cfg ${MEDNAFEN_HOME}/
  3. # Launch the process in background, record the PID into a file, wait
  4. # for the process to terminate and erase the recorded PID
  5. mednafen -fs 1 -ngp.stretch full "$1"&
  6. pid record $!
  7. wait $!
  8. pid erase