Qt: Use low logLevel for GBA object, overridden by GBAThread
Jeffrey Pfau jeffrey@endrift.com
Thu, 01 Jan 2015 16:05:36 -0800
1 files changed,
2 insertions(+),
0 deletions(-)
M
src/platform/qt/GameController.cpp
→
src/platform/qt/GameController.cpp
@@ -82,6 +82,8 @@
m_threadContext.startCallback = [] (GBAThread* context) { GameController* controller = static_cast<GameController*>(context->userData); controller->m_audioProcessor->setInput(context); + // Override the GBA object's log level to prevent stdout spew + context->gba->logLevel = GBA_LOG_FATAL; context->gba->luminanceSource = &controller->m_lux; context->gba->rtcSource = &controller->m_rtc; controller->gameStarted(context);