mirror of https://github.com/mgba-emu/mgba.git
Qt: Set default log level to FATAL, ERROR and WARN
This commit is contained in:
parent
9a0640f834
commit
c7a49ce8f2
1
CHANGES
1
CHANGES
|
@ -26,6 +26,7 @@ Misc:
|
||||||
- GBA: Exit cleanly on FATAL if the port supports it
|
- GBA: Exit cleanly on FATAL if the port supports it
|
||||||
- Qt: Handle a game crash without crashing
|
- Qt: Handle a game crash without crashing
|
||||||
- GBA Audio: Change internal audio sample buffer from 32-bit to 16-bit samples
|
- 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)
|
0.1.0: (2014-12-13)
|
||||||
- Initial release
|
- Initial release
|
||||||
|
|
|
@ -87,6 +87,7 @@ ConfigController::ConfigController(QObject* parent)
|
||||||
m_opts.videoSync = GameController::VIDEO_SYNC;
|
m_opts.videoSync = GameController::VIDEO_SYNC;
|
||||||
m_opts.fpsTarget = 60;
|
m_opts.fpsTarget = 60;
|
||||||
m_opts.audioBuffers = 2048;
|
m_opts.audioBuffers = 2048;
|
||||||
|
m_opts.logLevel = GBA_LOG_WARN | GBA_LOG_ERROR | GBA_LOG_FATAL;
|
||||||
GBAConfigLoadDefaults(&m_config, &m_opts);
|
GBAConfigLoadDefaults(&m_config, &m_opts);
|
||||||
GBAConfigLoad(&m_config);
|
GBAConfigLoad(&m_config);
|
||||||
GBAConfigMap(&m_config, &m_opts);
|
GBAConfigMap(&m_config, &m_opts);
|
||||||
|
|
Loading…
Reference in New Issue