mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-25 16:24:53 +02:00
Switch System_GetName to System_GetProperty
This commit is contained in:
+1
-1
@@ -676,7 +676,7 @@ void RestoreDefault() {
|
||||
SetDefaultKeyMap(DEFAULT_MAPPING_PAD, false);
|
||||
#elif defined(ANDROID)
|
||||
// Autodetect a few common devices
|
||||
std::string name = System_GetName();
|
||||
std::string name = System_GetProperty(SYSPROP_NAME);
|
||||
if (name == "NVIDIA:SHIELD") {
|
||||
SetDefaultKeyMap(DEFAULT_MAPPING_SHIELD, true);
|
||||
} else if (name == "OUYA:OUYA Console") { // TODO: check!
|
||||
|
||||
Reference in New Issue
Block a user