From e3a40e9cd794500141c43b8e7c2534a4eacef18c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 2 Sep 2019 21:42:49 +0200 Subject: [PATCH] Remove an old special case --- Core/Config.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Core/Config.cpp b/Core/Config.cpp index 814b9fae6f..ecb3a7612e 100644 --- a/Core/Config.cpp +++ b/Core/Config.cpp @@ -507,15 +507,6 @@ static ConfigSetting cpuSettings[] = { ConfigSetting(false), }; -static int DefaultRenderingMode() { - // Workaround for ancient device. Can probably be removed now as we do no longer - // support Froyo (Android 2.2)... - if (System_GetProperty(SYSPROP_NAME) == "samsung:GT-S5360") { - return 0; // Non-buffered - } - return 1; -} - static int DefaultInternalResolution() { // Auto on Windows, 2x on large screens, 1x elsewhere. #if defined(USING_WIN_UI) @@ -714,7 +705,7 @@ static ConfigSetting graphicsSettings[] = { ConfigSetting("D3D11Device", &g_Config.sD3D11Device, "", true, false), #endif ConfigSetting("VendorBugChecksEnabled", &g_Config.bVendorBugChecksEnabled, true, false, false), - ReportedConfigSetting("RenderingMode", &g_Config.iRenderingMode, &DefaultRenderingMode, true, true), + ReportedConfigSetting("RenderingMode", &g_Config.iRenderingMode, 1, true, true), ConfigSetting("SoftwareRenderer", &g_Config.bSoftwareRendering, false, true, true), ReportedConfigSetting("HardwareTransform", &g_Config.bHardwareTransform, true, true, true), ReportedConfigSetting("SoftwareSkinning", &g_Config.bSoftwareSkinning, true, true, true),