Merge pull request #2190 from fewtarius/dev

Set RPCS3 resolution dynamically when the emu is starting.
This commit is contained in:
fewtarius 2023-10-14 12:27:47 -04:00 committed by GitHub
commit 819e66c75b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,6 +44,8 @@ else
GAME_PATH="${1}"
fi
sed -i "s#Resolution:.*\$#Resolution: $(fbwidth)x$(fbheight)#g" /storage/.config/rpcs3/config.yml
# Run rpcs3
if [ "$SUI" = "1" ]; then
export QT_QPA_PLATFORM=wayland
@ -54,4 +56,4 @@ else
export SDL_AUDIODRIVER=pulseaudio
jslisten set "-9 rpcs3"
/usr/bin/rpcs3 --no-gui "$GAME_PATH"
fi
fi