mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Buildfixes, bump gradle
This commit is contained in:
1 parent
ecae62e737
commit
4add25e6c7
3 files changed
+12
-2
No files matched your search
@@ -1708,7 +1708,11 @@ static void VulkanEmuThread(ANativeWindow *wnd, GraphicsContext *graphicsContext
|
||||
}
|
||||
|
||||
renderer_inited = true;
|
||||
RunMainLoop(graphicsContext, new NativeApplication(), []() { return !exitRenderLoop; }, []() { ProcessFrameCommands(); });
|
||||
RunMainLoop(graphicsContext, new NativeApplication(), [](GraphicsContext *graphicsContext) {
|
||||
NativeFrame(graphicsContext);
|
||||
ProcessFrameCommands();
|
||||
return !exitRenderLoop;
|
||||
});
|
||||
renderer_inited = false;
|
||||
|
||||
// Shut the graphics context down to the same state it was in when we entered the render thread.
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
plugins {
|
||||
id("com.android.application") version "9.2.1" apply false
|
||||
id("com.android.application") version "9.3.1" apply false
|
||||
id("com.google.protobuf") version "0.10.0" apply false
|
||||
}
|
||||
@@ -253,6 +253,12 @@ static GraphicsContext *CreateGraphicsContext(GPUCore gpuCore, std::string **dev
|
||||
_assert_(false);
|
||||
break;
|
||||
}
|
||||
#elif PPSSPP_ARCH(LOONGARCH64)
|
||||
// The loongarch64 cross-compilation toolchain has no SDL3 packages available (see the
|
||||
// LOONGARCH64_DEVICE branch in CMakeLists.txt), so this build is compile-tested only and
|
||||
// never actually needs to create a graphics context at runtime.
|
||||
*deviceSetting = nullptr;
|
||||
return nullptr;
|
||||
#else
|
||||
#error The Headless build is not supported on this platform. Please use SDL (Mac/Linux) or Windows (non-UWP).
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user