mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 17:49:29 +01:00
Also rename the config setting to make sure it starts out off.
This commit is contained in:
1 parent
5dc9acf839
commit
3924e457be
4 files changed
+8
-8
No files matched your search
+3
-3
@@ -1035,7 +1035,7 @@ UI::EventReturn EmuScreen::OnDevTools(UI::EventParams ¶ms) {
|
||||
}
|
||||
|
||||
UI::EventReturn EmuScreen::OnDisableCardboard(UI::EventParams ¶ms) {
|
||||
g_Config.bEnableCardboard = false;
|
||||
g_Config.bEnableCardboardVR = false;
|
||||
return UI::EVENT_DONE;
|
||||
}
|
||||
|
||||
@@ -1292,7 +1292,7 @@ void EmuScreen::render() {
|
||||
return;
|
||||
|
||||
if (hasVisibleUI()) {
|
||||
cardboardDisableButton_->SetVisibility(g_Config.bEnableCardboard ? UI::V_VISIBLE : UI::V_GONE);
|
||||
cardboardDisableButton_->SetVisibility(g_Config.bEnableCardboardVR ? UI::V_VISIBLE : UI::V_GONE);
|
||||
screenManager()->getUIContext()->BeginFrame();
|
||||
renderUI();
|
||||
}
|
||||
@@ -1321,7 +1321,7 @@ bool EmuScreen::hasVisibleUI() {
|
||||
return true;
|
||||
if (!osm.IsEmpty() || g_Config.bShowTouchControls || g_Config.iShowFPSCounter != 0)
|
||||
return true;
|
||||
if (g_Config.bEnableCardboard)
|
||||
if (g_Config.bEnableCardboardVR)
|
||||
return true;
|
||||
// Debug UI.
|
||||
if (g_Config.bShowDebugStats || g_Config.bShowDeveloperMenu || g_Config.bShowAudioDebug || g_Config.bShowFrameProfiler)
|
||||
|
||||
Reference in new issue
Block a user