Windows UI: Add INI option to allow emulator to start in fullscreen mode on launch.

This commit is contained in:
The Dax committed 2013-07-10 14:22:22 -04:00
1 parent 48f0411743
commit 32bb4d7db5
3 files changed
+8

No files matched your search

+2
View File
@@ -113,6 +113,7 @@ void Config::Load(const char *iniFileName)
graphics->Get("VertexCache", &bVertexCache, true);
#ifdef _WIN32
graphics->Get("FullScreen", &bFullScreen, false);
graphics->Get("FullScreenOnLaunch", &bFullScreenOnLaunch, false);
#endif
#ifdef BLACKBERRY
graphics->Get("PartialStretch", &bPartialStretch, pixel_xres == pixel_yres);
@@ -233,6 +234,7 @@ void Config::Save()
graphics->Set("VertexCache", bVertexCache);
#ifdef _WIN32
graphics->Set("FullScreen", bFullScreen);
graphics->Set("FullScreenOnLaunch", &bFullScreenOnLaunch);
#endif
#ifdef BLACKBERRY
graphics->Set("PartialStretch", bPartialStretch);
+3
View File
@@ -80,6 +80,9 @@ public:
bool SSAntiAliasing; // for Windows, too
bool bVertexCache;
bool bFullScreen;
#ifdef _WIN32
bool bFullScreenOnLaunch;
#endif
int iAnisotropyLevel;
bool bTrueColor;
bool bFramebuffersToMem;
+3
View File
@@ -272,6 +272,9 @@ namespace MainWindow
Update();
SetPlaying(0);
if(g_Config.bFullScreenOnLaunch)
_ViewFullScreen(hwndMain);
ShowWindow(hwndMain, nCmdShow);