diff --git a/apps/PPSSPP (PSP emulator)/install b/apps/PPSSPP (PSP emulator)/install index aa343dd4dfa..464e895a4f7 100755 --- a/apps/PPSSPP (PSP emulator)/install +++ b/apps/PPSSPP (PSP emulator)/install @@ -23,10 +23,11 @@ cd build || error "Could not move to build folder" # enabling it causes no compilation issues and it can not be fully disabled (always shows in the UI) so keep it enabled # disable system FFMPEG as recommended by upstream (can be incompatible with some custom HW decoders and newew FFMPEG versions) # bundled FFMPEG requires minimum GLIBC 2.28 and is available for armv7l and armv8 +# architecture detection when kernel architecture does not match the userspace architecture is broken https://github.com/hrydgard/ppsspp/issues/18673 if [ $arch == 32 ] && grep -q '\-lwayland' /usr/lib/arm-linux-gnueabihf/pkgconfig/sdl2.pc ;then - cmake .. -DUSING_QT_UI=OFF -DUSE_SYSTEM_FFMPEG=OFF -DUSING_GLES2=ON -DUSING_EGL=ON -DUSE_WAYLAND_WSI=ON || error "cmake failed to configure the build" + cmake .. -DUSING_QT_UI=OFF -DUSE_SYSTEM_FFMPEG=OFF -DUSING_GLES2=ON -DUSING_EGL=ON -DUSE_WAYLAND_WSI=ON -DFORCED_CPU=armv7l || error "cmake failed to configure the build" elif [ $arch == 32 ];then - cmake .. -DUSING_QT_UI=OFF -DUSE_SYSTEM_FFMPEG=OFF -DUSING_GLES2=ON -DUSING_EGL=ON || error "cmake failed to configure the build" + cmake .. -DUSING_QT_UI=OFF -DUSE_SYSTEM_FFMPEG=OFF -DUSING_GLES2=ON -DUSING_EGL=ON -DFORCED_CPU=armv7l || error "cmake failed to configure the build" elif [ $arch == 64 ] && grep -q '\-lwayland' /usr/lib/aarch64-linux-gnu/pkgconfig/sdl2.pc ;then cmake .. -DUSING_QT_UI=OFF -DUSE_SYSTEM_FFMPEG=OFF -DUSE_WAYLAND_WSI=ON || error "cmake failed to configure the build" elif [ $arch == 64 ]; then