mednafen: Fix save(state) paths
This commit is contained in:
parent
eecc737bae
commit
8931e25964
1 changed files with 4 additions and 2 deletions
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue