mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 11:13:44 +01:00
Get rid of the confusing old USING_WIN_UI define. Make a more clear system property for headless.
This commit is contained in:
1 parent
45e11ee90f
commit
5cffcd34ad
21 files changed
+91
-95
No files matched your search
@@ -791,7 +791,6 @@ int PSPOskDialog::NativeKeyboard() {
|
||||
return SCE_ERROR_UTILITY_INVALID_STATUS;
|
||||
}
|
||||
|
||||
#if defined(USING_WIN_UI) || PPSSPP_PLATFORM(ANDROID)
|
||||
bool beginInputBox = false;
|
||||
if (nativeStatus_ == PSPOskNativeStatus::IDLE) {
|
||||
std::lock_guard<std::mutex> guard(nativeMutex_);
|
||||
@@ -844,7 +843,6 @@ int PSPOskDialog::NativeKeyboard() {
|
||||
ChangeStatus(SCE_UTILITY_STATUS_FINISHED, 0);
|
||||
nativeStatus_ = PSPOskNativeStatus::DONE;
|
||||
}
|
||||
#endif
|
||||
|
||||
u16_le *outText = oskParams->fields[0].outtext;
|
||||
|
||||
@@ -887,7 +885,7 @@ int PSPOskDialog::Update(int animSpeed) {
|
||||
int selectedRow = selectedChar / numKeyCols[currentKeyboard];
|
||||
int selectedExtra = selectedChar % numKeyCols[currentKeyboard];
|
||||
|
||||
#if defined(USING_WIN_UI) || PPSSPP_PLATFORM(ANDROID) || PPSSPP_PLATFORM(SWITCH)
|
||||
#if (PPSSPP_PLATFORM(WINDOWS) && !PPSSPP_PLATFORM(UWP)) || PPSSPP_PLATFORM(ANDROID) || PPSSPP_PLATFORM(SWITCH)
|
||||
// Windows: Fall back to the OSK/continue normally if we're in fullscreen.
|
||||
// The dialog box doesn't work right if in fullscreen.
|
||||
if (System_GetPropertyBool(SYSPROP_HAS_KEYBOARD)) {
|
||||
|
||||
Reference in new issue
Block a user