aboutsummaryrefslogtreecommitdiff
path: root/audio/softsynth
diff options
context:
space:
mode:
authorThierry Crozat2016-10-23 19:59:09 +0100
committerThierry Crozat2016-10-29 15:13:32 +0100
commit0908fd2225fb0305e7d76b402563b15d2d62c479 (patch)
tree0e385eb1615aab63081862ff78ec2acbb5b2e6ec /audio/softsynth
parent8906868ee0369a2b7a768de8cd8537614351b1d1 (diff)
downloadscummvm-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.cpp3
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);
}
};