Qt: Set default log level to FATAL, ERROR and WARN

Conflicts:
	CHANGES
This commit is contained in:
Jeffrey Pfau 2014-12-21 20:22:49 -08:00
parent 32f9621833
commit cbcfffcba4
2 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@ Misc:
- Qt: Disable sync to video by default
- GBA: Exit cleanly on FATAL if the port supports it
- Qt: Handle a game crash without crashing
- Qt: Set default log level to FATAL, ERROR and WARN
0.1.0: (2014-12-13)
- Initial release

View File

@ -87,6 +87,7 @@ ConfigController::ConfigController(QObject* parent)
m_opts.videoSync = GameController::VIDEO_SYNC;
m_opts.fpsTarget = 60;
m_opts.audioBuffers = 2048;
m_opts.logLevel = GBA_LOG_WARN | GBA_LOG_ERROR | GBA_LOG_FATAL;
GBAConfigLoadDefaults(&m_config, &m_opts);
GBAConfigLoad(&m_config);
GBAConfigMap(&m_config, &m_opts);