System: Use a separate API for bool props.

This simplifies defaulting, instead of -1 being "true".
This commit is contained in:
Unknown W. Brackets committed 2017-04-29 17:35:12 -07:00
1 parent ee68f09be5
commit 3b4103cb3b
14 files changed
+97 -62

No files matched your search

+1 -1
View File
@@ -1327,7 +1327,7 @@ namespace MainWindow {
{
W32Util::CenterWindow(hDlg);
HWND versionBox = GetDlgItem(hDlg, IDC_VERSION);
std::string windowText = System_GetPropertyInt(SYSPROP_APP_GOLD) ? "PPSSPP Gold " : "PPSSPP ";
std::string windowText = System_GetPropertyBool(SYSPROP_APP_GOLD) ? "PPSSPP Gold " : "PPSSPP ";
windowText.append(PPSSPP_GIT_VERSION);
SetWindowText(versionBox, ConvertUTF8ToWString(windowText).c_str());
}