Merge pull request #677 from Armada651/use_fullscreen

Frame: Only prevent exclusive fullscreen switches when the emulator is paused
This commit is contained in:
Pierre Bourdon 2014-07-27 00:14:56 +02:00
commit 96cfbd1bb0
1 changed files with 1 additions and 1 deletions

View File

@ -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