[Scummvm-git-logs] scummvm master -> 6bb9c74cc3ffc8a4fff4a425a0e970197670760c
bluegr
bluegr at gmail.com
Tue Jan 5 00:07:59 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
6bb9c74cc3 MT32: Remove setting the palette when the driver is initialized
Commit: 6bb9c74cc3ffc8a4fff4a425a0e970197670760c
https://github.com/scummvm/scummvm/commit/6bb9c74cc3ffc8a4fff4a425a0e970197670760c
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2021-01-05T02:07:55+02:00
Commit Message:
MT32: Remove setting the palette when the driver is initialized
Changed paths:
audio/softsynth/mt32.cpp
diff --git a/audio/softsynth/mt32.cpp b/audio/softsynth/mt32.cpp
index 1a25109aed..aa1ebcd4e2 100644
--- a/audio/softsynth/mt32.cpp
+++ b/audio/softsynth/mt32.cpp
@@ -160,18 +160,6 @@ int MidiDriver_MT32::open() {
if (_isOpen)
return MERR_ALREADY_OPEN;
- Graphics::PixelFormat screenFormat = g_system->getScreenFormat();
-
- if (screenFormat.bytesPerPixel == 1) {
- const byte dummy_palette[] = {
- 0, 0, 0, // background
- 0, 171, 0, // border, font
- 171, 0, 0 // fill
- };
-
- g_system->getPaletteManager()->setPalette(dummy_palette, 0, 3);
- }
-
debug(4, _s("Initializing MT-32 Emulator"));
Common::File controlFile;
More information about the Scummvm-git-logs
mailing list