aboutsummaryrefslogtreecommitdiff
path: root/audio/softsynth/mt32.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2011-02-13 20:26:02 +0100
committerJohannes Schickel2011-02-14 17:08:33 +0100
commitfb71d66e97ffd151971817ea4cb5c0572af508f8 (patch)
treeb32d1c5fa10371a0c59d3a0983777583b49fce65 /audio/softsynth/mt32.cpp
parent39861271d6c67b493e20d16ff88f37a807b2a65d (diff)
downloadscummvm-rg350-fb71d66e97ffd151971817ea4cb5c0572af508f8.tar.gz
scummvm-rg350-fb71d66e97ffd151971817ea4cb5c0572af508f8.tar.bz2
scummvm-rg350-fb71d66e97ffd151971817ea4cb5c0572af508f8.zip
MT32: Adapt to setPalette RGBA->RGB change.
Diffstat (limited to 'audio/softsynth/mt32.cpp')
-rw-r--r--audio/softsynth/mt32.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/audio/softsynth/mt32.cpp b/audio/softsynth/mt32.cpp
index 3a3958d494..a980b564fc 100644
--- a/audio/softsynth/mt32.cpp
+++ b/audio/softsynth/mt32.cpp
@@ -315,9 +315,9 @@ int MidiDriver_MT32::open() {
if (screenFormat.bytesPerPixel == 1) {
const byte dummy_palette[] = {
- 0, 0, 0, 0, // background
- 0, 171, 0, 0, // border, font
- 171, 0, 0, 0 // fill
+ 0, 0, 0, // background
+ 0, 171, 0, // border, font
+ 171, 0, 0 // fill
};
g_system->getPaletteManager()->setPalette(dummy_palette, 0, 3);