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