Skip to content

Commit

Permalink
PPSSPP: switch to GLES on ARM32 for QT5
Browse files Browse the repository at this point in the history
  • Loading branch information
theofficialgman committed Jan 7, 2024
1 parent 5ee181d commit 34d99ca
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion apps/PPSSPP (PSP emulator)/install
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,14 @@ cd build || error "Could not move to build folder"
# vulkan does not currently work properly (or at all) in SDL or QT backends on Linux https://github.com/hrydgard/ppsspp/pull/13054 https://github.com/hrydgard/ppsspp/issues/11628
# changing to vulkan in the UI does nothing and OpenGL continues to be used
# enabling it causes no compilation issues and it can not be fully disabled (always shows in the UI) so keep it enabled
cmake .. -DUSING_QT_UI=ON -DUSE_SYSTEM_FFMPEG=OFF || error "cmake failed to configure the build"
# use GLES on ARM32 due to QT5 being built with GLES and not GL on ARM32
if [ $arch == 32 ];then
cmake .. -DUSING_QT_UI=ON -DUSE_SYSTEM_FFMPEG=OFF -DUSING_GLES2=ON -DUSING_EGL=ON || error "cmake failed to configure the build"
elif [ $arch == 64 ];then
cmake .. -DUSING_QT_UI=ON -DUSE_SYSTEM_FFMPEG=OFF || error "cmake failed to configure the build"
else
error "Failed to detect OS CPU architecture! Something is very wrong."
fi
make -j$(nproc) || error "Could not build ppsspp"
sudo make install || error "Could not install ppsspp"
# update timestamp of top level icon directory to signal icon cache to be refreshed
Expand Down

0 comments on commit 34d99ca

Please sign in to comment.