From 59517476e78f71603b46934a038b3fb3830b03e1 Mon Sep 17 00:00:00 2001 From: xargon Date: Wed, 22 Jun 2022 18:08:16 +0200 Subject: [PATCH] DOLPHIN_SA: updated and fixed --- net.retrodeck.retrodeck.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/net.retrodeck.retrodeck.yml b/net.retrodeck.retrodeck.yml index 263aa2b2..67fa4d5f 100644 --- a/net.retrodeck.retrodeck.yml +++ b/net.retrodeck.retrodeck.yml @@ -703,7 +703,7 @@ modules: sources: - type: git url: https://github.com/dolphin-emu/dolphin.git - commit: 8ecfa537a242de74d2e372e30d9d79b14584b2fb + commit: 8335ec70e5fe253eb21509408ca6b5736ed57dfc # detects whether dolphin is running in a flatpak sandbox # and makes it use xdg directories if it is. # prevents dolphin from attempting to write conf files @@ -714,12 +714,19 @@ modules: # version strings must match exactly for online multiplayer - type: patch path: rd-submodules/dolphin/nodirtyversion.patch - - type: file + - type: script commands: - for i in {0..9}; do - test -S $XDG_RUNTIME_DIR/discord-ipc-$i || ln -sf {app/com.discordapp.Discord,$XDG_RUNTIME_DIR}/discord-ipc-$i; - done - - dolphin-emu "$@" + # use gtk3 filechooser on steamdeck + - bv=`cat /sys/devices/virtual/dmi/id/board_vendor` + - bv=$bv`cat /sys/devices/virtual/dmi/id/board_name` + - if [[ $bv == "ValveJupiter" ]]; then + - QT_QPA_PLATFORMTHEME=gtk3 dolphin-emu "$@" + - else + - dolphin-emu "$@" + - fi dest-filename: dolphin-emu-wrapper # Dolphin - END