Turn off depth raster on all single core devices

This commit is contained in:
Henrik Rydgård committed 2025-01-01 22:59:22 +01:00
1 parent f88b6abb5d
commit 7d50755a32
1 file changed
+9 -1
+9 -1
View File
@@ -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;