mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-28 23:38:49 +00:00
position and size of the main window are now saved (fixes issue 2035)
Note that running in debug mode (Dolphin.exe -d) still maximizes the window and stores that size aswell. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4879 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
e44e412da8
commit
8fec36b22a
7 changed files with 32 additions and 27 deletions
|
@ -172,12 +172,6 @@ void CCodeWindow::Save()
|
|||
ini.Set("Float", "Sound", !!FindWindowById(IDM_SOUNDWINDOW_PARENT));
|
||||
ini.Set("Float", "Video", !!FindWindowById(IDM_VIDEOWINDOW_PARENT));
|
||||
|
||||
// Save window settings
|
||||
ini.Set("MainWindow", "x", Parent->GetPosition().x);
|
||||
ini.Set("MainWindow", "y", Parent->GetPosition().y);
|
||||
ini.Set("MainWindow", "w", Parent->GetSize().GetWidth());
|
||||
ini.Set("MainWindow", "h", Parent->GetSize().GetHeight());
|
||||
|
||||
ini.Save(DEBUGGER_CONFIG_FILE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue