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

This commit is contained in:
Jeffrey Pfau 2014-12-21 20:22:49 -08:00
parent 9a0640f834
commit c7a49ce8f2
2 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,7 @@ Misc:
- GBA: Exit cleanly on FATAL if the port supports it
- Qt: Handle a game crash without crashing
- GBA Audio: Change internal audio sample buffer from 32-bit to 16-bit samples
- 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);