diff --git a/packages/emulators/standalone/rpcs3-sa/scripts/start_rpcs3.sh b/packages/emulators/standalone/rpcs3-sa/scripts/start_rpcs3.sh index c314bed2d..373182317 100755 --- a/packages/emulators/standalone/rpcs3-sa/scripts/start_rpcs3.sh +++ b/packages/emulators/standalone/rpcs3-sa/scripts/start_rpcs3.sh @@ -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 \ No newline at end of file +fi