mednafen: Fix save(state) paths

This commit is contained in:
sydarn 2024-02-04 13:08:13 +01:00
parent eecc737bae
commit 8931e25964

View file

@ -37,8 +37,10 @@ else
unset EMUPERF
fi
#Set Save folder
sed -i -e "s/@PLATFORM@/${PLATFORM}/g" $MEDNAFEN_HOME/mednafen.cfg
#Set Save paths
sed -i "s/filesys.path_sav .*/filesys.path_sav \/storage\/roms\/${PLATFORM}/g" $MEDNAFEN_HOME/mednafen.cfg
sed -i "s/filesys.path_savbackup.*/filesys.path_savbackup \/storage\/roms\/${PLATFORM}/g" $MEDNAFEN_HOME/mednafen.cfg
sed -i "s/filesys.path_state.*/filesys.path_state \/storage\/roms\/savestates\/${PLATFORM}/g" $MEDNAFEN_HOME/mednafen.cfg
# Get command line switches
FEATURES_CMDLINE=""