#!/bin/sh
progdir=$(cd $(dirname $0); pwd)
OVERDIR=/mnt/mmc/CFW/retroarch/.retroarch/config
rm -f "$OVERDIR/Snes9x/SFC.cfg"
rm -f "$OVERDIR/Snes9x 2002/SFC.cfg"
rm -f "$OVERDIR/Snes9x 2005/SFC.cfg"
rm -f "$OVERDIR/Supafaust/SFC.cfg"
cp -f $progdir/overlay/Overlay-SFC-OFF.sh $progdir
$progdir/overlay/printstr "SFC Overlay-OFF"
sleep 2
rm -f $0
sync
