mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-21 10:19:04 +02:00
Metal: Leave the backend out of the libretro cores
They get their graphics context from the frontend, so they compiled and linked the Metal backend without being able to use it. Adds PPSSPP_API_METAL, like PPSSPP_API_D3D11, for the code that only exists with it. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
987a904cff
commit
b2fc4a80fe
7 files changed
+15
-9
No files matched your search
+1
-1
@@ -609,7 +609,7 @@ bool Config::IsBackendEnabled(GPUBackend backend) {
|
||||
return false;
|
||||
#endif
|
||||
|
||||
#if !PPSSPP_PLATFORM(MAC) && !PPSSPP_PLATFORM(IOS)
|
||||
#if !PPSSPP_API(METAL)
|
||||
if (backend == GPUBackend::METAL)
|
||||
return false;
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user