Skip to content

Commit

Permalink
Remove an old special case
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Sep 2, 2019
1 parent e2ecf30 commit e3a40e9
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions Core/Config.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -507,15 +507,6 @@ static ConfigSetting cpuSettings[] = {
ConfigSetting(false), 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() { static int DefaultInternalResolution() {
// Auto on Windows, 2x on large screens, 1x elsewhere. // Auto on Windows, 2x on large screens, 1x elsewhere.
#if defined(USING_WIN_UI) #if defined(USING_WIN_UI)
Expand Down Expand Up @@ -714,7 +705,7 @@ static ConfigSetting graphicsSettings[] = {
ConfigSetting("D3D11Device", &g_Config.sD3D11Device, "", true, false), ConfigSetting("D3D11Device", &g_Config.sD3D11Device, "", true, false),
#endif #endif
ConfigSetting("VendorBugChecksEnabled", &g_Config.bVendorBugChecksEnabled, true, false, false), 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), ConfigSetting("SoftwareRenderer", &g_Config.bSoftwareRendering, false, true, true),
ReportedConfigSetting("HardwareTransform", &g_Config.bHardwareTransform, true, true, true), ReportedConfigSetting("HardwareTransform", &g_Config.bHardwareTransform, true, true, true),
ReportedConfigSetting("SoftwareSkinning", &g_Config.bSoftwareSkinning, true, true, true), ReportedConfigSetting("SoftwareSkinning", &g_Config.bSoftwareSkinning, true, true, true),
Expand Down

0 comments on commit e3a40e9

Please sign in to comment.