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