mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Add option fullscreen , make default to false
This commit is contained in:
parent
cb67e0439a
commit
b74b215f34
3 changed files with 5 additions and 2 deletions
|
@ -69,6 +69,7 @@ void CConfig::Load(const char *iniFileName)
|
|||
graphics->Get("VBO", &bUseVBO, false);
|
||||
graphics->Get("DisableG3DLog", &bDisableG3DLog, false);
|
||||
graphics->Get("VertexCache", &bVertexCache, true);
|
||||
graphics->Get("FullScreen", &bFullScreen, false);
|
||||
|
||||
IniFile::Section *sound = iniFile.GetOrCreateSection("Sound");
|
||||
sound->Get("Enable", &bEnableSound, true);
|
||||
|
@ -122,6 +123,7 @@ void CConfig::Save()
|
|||
graphics->Set("VBO", bUseVBO);
|
||||
graphics->Set("DisableG3DLog", bDisableG3DLog);
|
||||
graphics->Set("VertexCache", bVertexCache);
|
||||
graphics->Set("FullScreen", bFullScreen);
|
||||
|
||||
IniFile::Section *sound = iniFile.GetOrCreateSection("Sound");
|
||||
sound->Set("Enable", bEnableSound);
|
||||
|
|
|
@ -58,6 +58,7 @@ public:
|
|||
bool SSAntiAliasing; //for Windows, too
|
||||
bool bDisableG3DLog;
|
||||
bool bVertexCache;
|
||||
bool bFullScreen;
|
||||
|
||||
// Sound
|
||||
bool bEnableSound;
|
||||
|
|
|
@ -498,8 +498,7 @@ namespace MainWindow
|
|||
case ID_OPTIONS_FULLSCREEN:
|
||||
if(g_bFullScreen) {
|
||||
_ViewNormal(hWnd);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
_ViewFullScreen(hWnd);
|
||||
}
|
||||
UpdateMenus();
|
||||
|
@ -644,6 +643,7 @@ namespace MainWindow
|
|||
disasmWindow[0] = new CDisasm(MainWindow::GetHInstance(), MainWindow::GetHWND(), currentDebugMIPS);
|
||||
DialogManager::AddDlg(disasmWindow[0]);
|
||||
disasmWindow[0]->Show(g_Config.bShowDebuggerOnLoad);
|
||||
if (g_Config.bFullScreen) _ViewFullScreen(hWnd);
|
||||
memoryWindow[0] = new CMemoryDlg(MainWindow::GetHInstance(), MainWindow::GetHWND(), currentDebugMIPS);
|
||||
DialogManager::AddDlg(memoryWindow[0]);
|
||||
if (disasmWindow[0])
|
||||
|
|
Loading…
Add table
Reference in a new issue