Merge pull request #1894 from Armada651/exclusive-fix

D3D: Fix Dolphin immediately exiting exclusive fullscreen.
This commit is contained in:
Markus Wick
2015-01-19 23:29:43 +01:00
4 changed files with 34 additions and 23 deletions

View File

@ -28,7 +28,10 @@ void UpdateActiveConfig()
VideoConfig::VideoConfig()
{
bRunning = false;
// Exclusive fullscreen flags
bFullscreen = false;
bExclusiveMode = false;
// Needed for the first frame, I think
fAspectRatioHackW = 1;

View File

@ -67,6 +67,7 @@ struct VideoConfig final
// General
bool bVSync;
bool bFullscreen;
bool bExclusiveMode;
bool bRunning;
bool bWidescreenHack;
int iAspectRatio;