mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 06:20:26 +02:00
Infrastructure username handling: Add separate username, pick Nickname as default if valid.
This commit is contained in:
1 parent
41e156a326
commit
01b06b76c9
11 files changed
+103
-35
No files matched your search
@@ -36,7 +36,7 @@ bool ConfigSetting::Get(const Section *section) const {
|
||||
case TYPE_FLOAT:
|
||||
return section->Get(iniKey_, ptr_.f, cb_.f ? cb_.f() : default_.f);
|
||||
case TYPE_STRING:
|
||||
return section->Get(iniKey_, ptr_.s, cb_.s ? cb_.s() : default_.s);
|
||||
return section->Get(iniKey_, ptr_.s, cb_.s ? cb_.s().c_str() : default_.s);
|
||||
case TYPE_TOUCH_POS:
|
||||
{
|
||||
ConfigTouchPos defaultTouchPos = cb_.touchPos ? cb_.touchPos() : default_.touchPos;
|
||||
|
||||
Reference in new issue
Block a user