From 0908fd2225fb0305e7d76b402563b15d2d62c479 Mon Sep 17 00:00:00 2001 From: Thierry Crozat Date: Sun, 23 Oct 2016 19:59:09 +0100 Subject: MT32: Use OSDMessageQueue to post OSD messages from the MT32 thread --- audio/softsynth/mt32.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'audio') diff --git a/audio/softsynth/mt32.cpp b/audio/softsynth/mt32.cpp index d514e64fe9..aaf95b65da 100644 --- a/audio/softsynth/mt32.cpp +++ b/audio/softsynth/mt32.cpp @@ -42,6 +42,7 @@ #include "common/archive.h" #include "common/textconsole.h" #include "common/translation.h" +#include "common/osd_message_queue.h" #include "graphics/fontman.h" #include "graphics/surface.h" @@ -79,7 +80,7 @@ protected: error("MT32emu: Init Error - Missing PCM ROM image"); } void showLCDMessage(const char *message) { - g_system->displayMessageOnOSD(message); + Common::OSDMessageQueue::instance().addMessage(message); } }; -- cgit v1.2.3