#!/bin/sh

# Kill it! Kill it with fire!
uistop

core="$1"
rom="$2"
shift 2

if [ -f "/bin/remote-exec" ]; then
  echo retroarch-clover-child "$core" "\"$rom\"" ${1+"$@"} > /var/exec.flag
else
  exec retroarch-clover-child "$core" "\"$rom\"" ${1+"$@"}
fi
