Switch System_GetName to System_GetProperty

This commit is contained in:
Henrik Rydgard
2013-09-04 11:31:40 +02:00
parent 159e366a16
commit c845da2887
7 changed files with 34 additions and 20 deletions
+1 -1
View File
@@ -166,7 +166,7 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename)
#ifdef BLACKBERRY
control->Get("ShowTouchControls", &bShowTouchControls, pixel_xres != pixel_yres);
#elif defined(USING_GLES2)
std::string name = System_GetName();
std::string name = System_GetProperty(SYSPROP_NAME);
if (name == "NVIDIA:SHIELD" || name == "Sony Ericsson:R800i" || name == "Sony Ericsson:zeus") {
control->Get("ShowTouchControls", &bShowTouchControls, false);
} else {