mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-04 03:35:19 +02:00
Switch System_GetName to System_GetProperty
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user