no netplay

This commit is contained in:
Dragoon Dorise 2024-05-08 20:47:37 +02:00
parent 95016f41ae
commit d6467d5cce

View file

@ -944,18 +944,18 @@ function emulatorInit(){
local emuName=$1
#isLatestVersionGH "$emuName"
#NetPlay
if [ "$emuName" = 'retroarch' ]; then
if [ "$netPlay" == "true" ]; then
#Looks for devices listening
setSetting netplayCMD "-H"
sleep 2
netplaySetIP
else
setSetting netplayCMD "' '"
cloud_sync_downloadEmu "$emuName" && cloud_sync_startService
fi
source $HOME/.config/EmuDeck/backend/functions/all.sh
fi
#if [ "$emuName" = 'retroarch' ]; then
# if [ "$netPlay" == "true" ]; then
# #Looks for devices listening
# setSetting netplayCMD "-H"
# sleep 2
# netplaySetIP
# else
# setSetting netplayCMD "' '"
# cloud_sync_downloadEmu "$emuName" && cloud_sync_startService
# fi
# source $HOME/.config/EmuDeck/backend/functions/all.sh
#fi
if [ "$emuName" != 'retroarch' ]; then
cloud_sync_downloadEmu "$emuName" && cloud_sync_startService