UI: Consider chat for visible UI.

Otherwise we might fail to bind a framebuf and crash.
This commit is contained in:
Unknown W. Brackets 2021-02-15 20:38:11 -08:00
parent 92d0454133
commit 237c8dec50

View File

@ -1575,7 +1575,7 @@ bool EmuScreen::hasVisibleUI() {
return true;
if (!osm.IsEmpty() || g_Config.bShowTouchControls || g_Config.iShowFPSCounter != 0)
return true;
if (g_Config.bEnableCardboardVR)
if (g_Config.bEnableCardboardVR || g_Config.bEnableNetworkChat)
return true;
// Debug UI.
if (g_Config.bShowDebugStats || g_Config.bShowDeveloperMenu || g_Config.bShowAudioDebug || g_Config.bShowFrameProfiler)