compile again and run on your local computer.
if you want to run it on a batocera, i explain below my general way of working to work only on 1 package without rebuilding everything.
use this forum or ask susan on irc when i'm connected if you have any question on the way to work efficiently.
1) first build a batocera (see the wiki), in 2 words:
git clone
make recalbox-x86_64_defconfig
make
2) change packages/recalbox-emulation2/recalbox-emulation2.mk to point on your local git with modifications
3) remove the current build :
rm -rf output/build/recalbox-emulationstation2-rx5.0
mv output/target output/target_
mkdir output/target
make recalbox-emulationstation2
you can modify output/build/recalbox-es2 sources directly, and remove .stamp_build/.stamp_install_target then run again make recalbox-emulationstation2
build file are put in the new almost empty output/target,
start your batocera,
stop emulation : /etc/init.d/S31emulationstation stop
mount -o remount,rw /
rsync -av output/target/ root@recalbox.local:/
/etc/init.d/S31emulationstation start
eventually, save the overlay so that files are not removed after a reboot, /recalbox/script/recalbox-savexxx.sh
eventually, to remake a new image :
rm -rf output/build/recalbox-emulationstation2-rx5.0
make # this will rebuild es and remake the image