mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-01-31 04:25:39 +00:00
Update Xemu init function.
This commit is contained in:
parent
725f2f412c
commit
9a88203aa0
|
@ -868,10 +868,11 @@ xemu_init() {
|
|||
echo "------------------------"
|
||||
mkdir -pv $rdhome/saves/xbox/xemu/
|
||||
# removing config directory to wipe legacy files
|
||||
rm -rf /var/config/xemu
|
||||
rm -rf /var/data/xemu
|
||||
mkdir -pv /var/data/xemu/
|
||||
cp -fv $emuconfigs/xemu.toml /var/data/xemu/xemu.toml
|
||||
sed -i 's#/home/deck/retrodeck#'$rdhome'#g' /var/data/xemu/xemu.toml
|
||||
dir_prep "/var/config/xemu" "/var/data/xemu" # Creating config folder in /var/config for consistentcy and linking back to original location where emulator will look
|
||||
cp -fv $emuconfigs/xemu.toml /var/config/xemu/xemu.toml
|
||||
sed -i 's#/home/deck/retrodeck#'$rdhome'#g' /var/config/xemu/xemu.toml
|
||||
# Preparing HD dummy Image if the image is not found
|
||||
if [ ! -f $rdhome/bios/xbox_hdd.qcow2 ]
|
||||
then
|
||||
|
|
Loading…
Reference in a new issue