From 332d5888eb612107576c3ecba7daa1aab46a3cf6 Mon Sep 17 00:00:00 2001 From: Jules Blok Date: Sun, 18 Jan 2015 04:35:08 +0100 Subject: 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. --- Source/Core/VideoCommon/VideoConfig.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source/Core/VideoCommon/VideoConfig.cpp') 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; -- cgit v1.2.3