mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 01:33:45 +01:00
Save and restore the console window's position.
This commit is contained in:
1 parent
7cef136468
commit
bff16dbd76
4 files changed
+33
No files matched your search
@@ -159,6 +159,8 @@ void Config::Load(const char *iniFileName)
|
||||
debugConfig->Get("DisasmWindowY", &iDisasmWindowY, -1);
|
||||
debugConfig->Get("DisasmWindowW", &iDisasmWindowW, -1);
|
||||
debugConfig->Get("DisasmWindowH", &iDisasmWindowH, -1);
|
||||
debugConfig->Get("ConsoleWindowX", &iConsoleWindowX, -1);
|
||||
debugConfig->Get("ConsoleWindowY", &iConsoleWindowY, -1);
|
||||
|
||||
CleanRecent();
|
||||
}
|
||||
@@ -261,6 +263,8 @@ void Config::Save()
|
||||
debugConfig->Set("DisasmWindowY", iDisasmWindowY);
|
||||
debugConfig->Set("DisasmWindowW", iDisasmWindowW);
|
||||
debugConfig->Set("DisasmWindowH", iDisasmWindowH);
|
||||
debugConfig->Set("ConsoleWindowX", iConsoleWindowX);
|
||||
debugConfig->Set("ConsoleWindowY", iConsoleWindowY);
|
||||
|
||||
if (!iniFile.Save(iniFilename_.c_str())) {
|
||||
ERROR_LOG(LOADER, "Error saving config - can't write ini %s", iniFilename_.c_str());
|
||||
|
||||
Reference in new issue
Block a user