#!/bin/sh
progdir=$(cd $(dirname $0); pwd)
OVERDIR=/mnt/mmc/CFW/retroarch/.retroarch/config
rm -f "$OVERDIR/FCEUmm/FC.cfg"
rm -f "$OVERDIR/QuickNES/FC.cfg"
rm -f "$OVERDIR/Nestopia/FC.cfg"
cp -f $progdir/overlay/Overlay-FC-OFF.sh $progdir
$progdir/overlay/printstr "FC Overlay-OFF"
sleep 2
rm -f $0
sync
