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