diff options
author | Thierry Crozat | 2016-10-23 19:59:09 +0100 |
---|---|---|
committer | Thierry Crozat | 2016-10-29 15:13:32 +0100 |
commit | 0908fd2225fb0305e7d76b402563b15d2d62c479 (patch) | |
tree | 0e385eb1615aab63081862ff78ec2acbb5b2e6ec /audio/softsynth | |
parent | 8906868ee0369a2b7a768de8cd8537614351b1d1 (diff) | |
download | scummvm-rg350-0908fd2225fb0305e7d76b402563b15d2d62c479.tar.gz scummvm-rg350-0908fd2225fb0305e7d76b402563b15d2d62c479.tar.bz2 scummvm-rg350-0908fd2225fb0305e7d76b402563b15d2d62c479.zip |
MT32: Use OSDMessageQueue to post OSD messages from the MT32 thread
Diffstat (limited to 'audio/softsynth')
-rw-r--r-- | audio/softsynth/mt32.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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); } }; |