Skip to content
Permalink
Browse files

Remove an old special case

  • Loading branch information...
hrydgard committed Sep 2, 2019
1 parent e2ecf30 commit e3a40e9cd794500141c43b8e7c2534a4eacef18c
Showing with 1 addition and 10 deletions.
  1. +1 −10 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),

0 comments on commit e3a40e9

Please sign in to comment.
You can’t perform that action at this time.