#!/bin/sh
progdir=$(dirname "$0")/data
sed -i 's/"FC": ".*"/"FC": "nestopia_libretro.so"/g' "/mnt/mmc/CFW/config/coremapping.json"
$progdir/printstr "FC: Use nestopia CORE"
sleep 1
sync
