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