mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-11 02:28:51 +00:00
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.
This commit is contained in:
parent
8d69658a9d
commit
332d5888eb
4 changed files with 12 additions and 13 deletions
|
@ -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;
|
||||
|
|
|
@ -67,6 +67,7 @@ struct VideoConfig final
|
|||
// General
|
||||
bool bVSync;
|
||||
bool bFullscreen;
|
||||
bool bExclusiveMode;
|
||||
bool bRunning;
|
||||
bool bWidescreenHack;
|
||||
int iAspectRatio;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue