From 2a871cfef20d1a55abea1be090ed6473f43019e0 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Sun, 4 Mar 2007 15:34:58 +0000 Subject: - Some minor fixes - Added the Gob2 Mac version fac76 reported in bug #1673397 svn-id: r25977 --- engines/gob/init_v2.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'engines/gob/init_v2.cpp') diff --git a/engines/gob/init_v2.cpp b/engines/gob/init_v2.cpp index e8ab0283da..1c5c8790fd 100644 --- a/engines/gob/init_v2.cpp +++ b/engines/gob/init_v2.cpp @@ -53,8 +53,13 @@ void Init_v2::soundVideo(int32 smallHeap, int16 flag) { _vm->_global->_sprAllocated = 0; _vm->_gtimer->enableTimer(); - if ((_vm->_global->_videoMode == 0x13) || (_vm->_global->_videoMode == 0x14)) - _vm->_global->_colorCount = 256; + if ((_vm->_platform == Common::kPlatformPC) || (_vm->_platform == Common::kPlatformMacintosh)) { + if ((_vm->_global->_videoMode == 0x13) || (_vm->_global->_videoMode == 0x14)) + _vm->_global->_colorCount = 256; + else + _vm->_global->_colorCount = 16; + } else + _vm->_global->_colorCount = 16; _vm->_global->_pPaletteDesc = &_vm->_global->_paletteStruct; _vm->_global->_pPaletteDesc->vgaPal = _vm->_draw->_vgaPalette; -- cgit v1.2.3