Merge pull request #2190 from fewtarius/dev
Set RPCS3 resolution dynamically when the emu is starting.
This commit is contained in:
commit
819e66c75b
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue