mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-04 16:26:53 +00:00
MOHAWK: Expand Myst ME (Polish) Map Color Fix To All Stack Maps
This commit is contained in:
parent
dec0ec656c
commit
541badba9e
@ -22,6 +22,7 @@
|
||||
#include "mohawk/myst.h"
|
||||
#include "mohawk/myst_graphics.h"
|
||||
#include "mohawk/resource.h"
|
||||
#include "mohawk/myst_scripts.h"
|
||||
|
||||
#include "common/substream.h"
|
||||
#include "common/system.h"
|
||||
@ -225,7 +226,8 @@ void MystGraphics::applyImagePatches(uint16 id, const MohawkSurface *mhkSurface)
|
||||
}
|
||||
|
||||
// Fix map picture with inverted colors in Myst ME Polish version
|
||||
if (id == 9934 && _vm->isGameVariant(GF_ME) && _vm->getLanguage() == Common::PL_POL) {
|
||||
if (id == _vm->_stack->getMap() && _vm->isGameVariant(GF_ME) && _vm->getLanguage() == Common::PL_POL) {
|
||||
debug(3, "Fix for Inverted Map Colors in Myst ME Polish Version Triggered!");
|
||||
mhkSurface->getSurface()->convertToInPlace(Graphics::PixelFormat(4, 8, 8, 8, 8, 8, 16, 0, 24));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user