From 7d50755a321f6ef865057b554d7c1c995fe5d3b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Wed, 1 Jan 2025 22:59:22 +0100 Subject: [PATCH] Turn off depth raster on all single core devices --- Core/Config.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Core/Config.cpp b/Core/Config.cpp index 66f9ab7419..45ac4ea454 100644 --- a/Core/Config.cpp +++ b/Core/Config.cpp @@ -140,7 +140,15 @@ const char *DefaultLangRegion() { } static int DefaultDepthRaster() { -#if PPSSPP_PLATFORM(ANDROID) || PPSSPP_PLATFORM(IOS) + // All single cores default to off. + if (cpu_info.num_cores == 1) { + return (int)DepthRasterMode::OFF; + } + + // ARMv7 also defaults to off. +#if PPSSPP_PLATFORM(ARM) + return (int)DepthRasterMode::OFF; +#elif PPSSPP_PLATFORM(ANDROID) || PPSSPP_PLATFORM(IOS) return (int)DepthRasterMode::LOW_QUALITY; #else return (int)DepthRasterMode::DEFAULT;