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