mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-27 20:28:27 +00:00
Small color table correction for demo mode of v1 maniac
svn-id: r11650
This commit is contained in:
parent
4e736a6602
commit
09495a7fc9
@ -178,9 +178,12 @@ bool ScummEngine::loadState(int slot, bool compat, SaveFileManager *mgr) {
|
||||
// ever add options for using different 16-colour palettes.
|
||||
|
||||
if (_version == 1) {
|
||||
if (_gameId == GID_MANIAC)
|
||||
if (_gameId == GID_MANIAC) {
|
||||
setupV1ManiacPalette();
|
||||
else
|
||||
if (_demoMode)
|
||||
setPalColor(15, 252, 84, 252);
|
||||
|
||||
} else
|
||||
setupV1ZakPalette();
|
||||
} else if (_features & GF_16COLOR) {
|
||||
if ((_features & GF_AMIGA) || (_features & GF_ATARI_ST))
|
||||
|
@ -825,7 +825,7 @@ void ScummEngine_v2::o2_verbOps() {
|
||||
vs->verbid = verb;
|
||||
if (_version == 1) {
|
||||
if (_gameId == GID_MANIAC && _demoMode)
|
||||
vs->color = 4;
|
||||
vs->color = 15;
|
||||
else
|
||||
vs->color = 5;
|
||||
|
||||
|
@ -1019,9 +1019,11 @@ void ScummEngine::scummInit() {
|
||||
for (i = 0; i < 256; i++)
|
||||
_roomPalette[i] = i;
|
||||
if (_version == 1) {
|
||||
if (_gameId == GID_MANIAC)
|
||||
if (_gameId == GID_MANIAC) {
|
||||
setupV1ManiacPalette();
|
||||
else
|
||||
if (_demoMode)
|
||||
setPalColor(15, 252, 84, 252);
|
||||
} else
|
||||
setupV1ZakPalette();
|
||||
} else if (_features & GF_16COLOR) {
|
||||
for (i = 0; i < 16; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user