aboutsummaryrefslogtreecommitdiff
path: root/sound/softsynth
diff options
context:
space:
mode:
authorJohannes Schickel2009-02-15 21:20:21 +0000
committerJohannes Schickel2009-02-15 21:20:21 +0000
commit5417f6bacb73d5996b26229513c2ce01db27bf6a (patch)
treeec7298416ce8f3ca657b1637352763178752852c /sound/softsynth
parente29d90be3e2213313c2884d80656198d8fed65ef (diff)
downloadscummvm-rg350-5417f6bacb73d5996b26229513c2ce01db27bf6a.tar.gz
scummvm-rg350-5417f6bacb73d5996b26229513c2ce01db27bf6a.tar.bz2
scummvm-rg350-5417f6bacb73d5996b26229513c2ce01db27bf6a.zip
- Replace OSystem::clearScreen with OSystem::fillScreen as discussed on -devel.
- Update BaseBackend and DC port to properly implement OSystem::fillScreen (now only PalmOS has to be updated). - Update all client code which relied on OSystem::clearScreen so far. svn-id: r38304
Diffstat (limited to 'sound/softsynth')
-rw-r--r--sound/softsynth/mt32.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/softsynth/mt32.cpp b/sound/softsynth/mt32.cpp
index c64a5b6df9..a0457aed62 100644
--- a/sound/softsynth/mt32.cpp
+++ b/sound/softsynth/mt32.cpp
@@ -285,7 +285,7 @@ int MidiDriver_MT32::open() {
if (!_synth->open(prop))
return MERR_DEVICE_NOT_AVAILABLE;
_initialising = false;
- g_system->clearScreen();
+ g_system->fillScreen(0);
g_system->updateScreen();
_mixer->playInputStream(Audio::Mixer::kSFXSoundType, &_handle, this, -1, 255, 0, false, true);
return 0;