MAME-SA: fixes for the future hiscore implementation [skip ci]

This commit is contained in:
XargonWan 2024-01-02 17:21:55 +01:00
parent 0e5c59c939
commit bd8377067a
3 changed files with 3 additions and 2 deletions

View file

@ -27,7 +27,7 @@ swpath /app/share/mame/software
cfg_directory /var/config/mame/cfg
nvram_directory /var/config/mame/nvram
input_directory /var/config/mame/inp
state_directory RETRODECKSAVESDIR/mame-sa
state_directory RETRODECKSAVESDIR/mame-sa/states
snapshot_directory RETRODECKHOMEDIR/screenshots
diff_directory /var/config/mame/diff
comment_directory /var/config/mame/comments

View file

@ -710,6 +710,7 @@ prepare_emulator() {
mkdir -p $saves_folder/mame-sa
mkdir -p "/var/config/mame"
dir_prep "$saves_folder/mame-sa/hiscore" "/var/config/mame/hiscore"
cp -fvr "$emuconfigs/mame/**" "/var/config/mame"
sed -i 's#RETRODECKROMSDIR#'$roms_folder'#g' "/var/config/gzdoom/*.ini"
sed -i 's#RETRODECKHOMESDIR#'$rdhome'#g' "/var/config/gzdoom/*.ini"

View file

@ -1225,7 +1225,7 @@ modules:
- name: vita3k
buildsystem: simple
build-commands:
build-commands:
# Copying the user icon
- mkdir -p ${FLATPAK_DEST}/retrodeck
- cp retrodeck.png ${FLATPAK_DEST}/retrodeck