mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 19:44:57 +00:00
Frame: Only prevent exclusive fullscreen switches when the emulator is paused.
This fixes the "Use Fullscreen" setting in which case the switch is done while the emulator is uninitialized.
This commit is contained in:
parent
957a39942e
commit
1f24122d35
1 changed files with 1 additions and 1 deletions
|
@ -1191,7 +1191,7 @@ void CFrame::DoFullscreen(bool enable_fullscreen)
|
|||
{
|
||||
if (!g_Config.bBorderlessFullscreen &&
|
||||
!SConfig::GetInstance().m_LocalCoreStartupParameter.bRenderToMain &&
|
||||
Core::GetState() != Core::CORE_RUN)
|
||||
Core::GetState() == Core::CORE_PAUSE)
|
||||
{
|
||||
// A responsive renderer is required for exclusive fullscreen, but the
|
||||
// renderer can only respond in the running state. Therefore we ignore
|
||||
|
|
Loading…
Add table
Reference in a new issue