summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VideoConfig.cpp
diff options
context:
space:
mode:
authorJules Blok <jules.blok@gmail.com>2015-01-18 04:35:08 +0100
committerJules Blok <jules.blok@gmail.com>2015-01-19 22:55:21 +0100
commit332d5888eb612107576c3ecba7daa1aab46a3cf6 (patch)
tree8500eb4e153445ff0a9845467e9607c2b78df0ac /Source/Core/VideoCommon/VideoConfig.cpp
parent8d69658a9da53f531f01c7f8a54d7b8db80f6098 (diff)
VideoConfig: Add exclusive mode flag.
Allows the UI to easily check the current exclusive mode state. This simplifies a few checks and prevents the user from ever getting stuck in fullscreen.
Diffstat (limited to 'Source/Core/VideoCommon/VideoConfig.cpp')
-rw-r--r--Source/Core/VideoCommon/VideoConfig.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp
index dd3d7e54a6..f0bba36ffd 100644
--- a/Source/Core/VideoCommon/VideoConfig.cpp
+++ b/Source/Core/VideoCommon/VideoConfig.cpp
@@ -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;