Set RPCS3 resolution dynamically when the emu is starting.

This commit is contained in:
fewtarius 2023-10-14 16:26:47 +00:00
parent 59342d0ccd
commit 52ecd0909d
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

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