Qt: Set default log level to FATAL, ERROR and WARN
Jeffrey Pfau jeffrey@endrift.com
Sun, 21 Dec 2014 20:22:49 -0800
2 files changed,
2 insertions(+),
0 deletions(-)
M
CHANGES
→
CHANGES
@@ -26,6 +26,7 @@ - Qt: Disable sync to video by default
- 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
M
src/platform/qt/ConfigController.cpp
→
src/platform/qt/ConfigController.cpp
@@ -87,6 +87,7 @@ m_opts.audioSync = GameController::AUDIO_SYNC;
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);