mirror of https://github.com/mgba-emu/mgba.git
Qt: Set default log level to FATAL, ERROR and WARN
Conflicts: CHANGES
This commit is contained in:
parent
32f9621833
commit
cbcfffcba4
1
CHANGES
1
CHANGES
|
@ -15,6 +15,7 @@ Misc:
|
||||||
- Qt: Disable sync to video by default
|
- Qt: Disable sync to video by default
|
||||||
- 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
|
||||||
|
- 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