mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 14:46:49 +01:00
clamp verbosity setting
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2703 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
f5e643bf34
commit
2c13aa0394
@ -166,6 +166,8 @@ void CLogWindow::LoadSettings()
|
||||
ini.Get("LogWindow", "h", &h, GetSize().GetHeight());
|
||||
SetSize(x, y, w, h);
|
||||
ini.Get("Options", "Verbosity", &verbosity, 0);
|
||||
if (verbosity < 1) verbosity = 1;
|
||||
if (verbosity > DEBUG_LEVEL) verbosity = DEBUG_LEVEL;
|
||||
m_verbosity->SetSelection(verbosity - 1);
|
||||
ini.Get("Options", "WriteToFile", &m_writeFile, true);
|
||||
m_writeFileCB->SetValue(m_writeFile);
|
||||
|
Loading…
x
Reference in New Issue
Block a user