aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorFlorian Kagerer2009-09-25 21:33:00 +0000
committerFlorian Kagerer2009-09-25 21:33:00 +0000
commit77a27acf83d2375c1dc2e091cd30dfb0514d0634 (patch)
tree25f0a9a46dd3cf243f80e7e82b7bce500cb8d74b /engines/kyra
parent5ffc41a09ebc2618d2231f31ad7daf3183e14f67 (diff)
downloadscummvm-rg350-77a27acf83d2375c1dc2e091cd30dfb0514d0634.tar.gz
scummvm-rg350-77a27acf83d2375c1dc2e091cd30dfb0514d0634.tar.bz2
scummvm-rg350-77a27acf83d2375c1dc2e091cd30dfb0514d0634.zip
LOL/PC-98: fixed dialoge box sizes
svn-id: r44369
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/staticres.cpp2
-rw-r--r--engines/kyra/text_lol.cpp5
2 files changed, 5 insertions, 2 deletions
diff --git a/engines/kyra/staticres.cpp b/engines/kyra/staticres.cpp
index c705e91539..2344ce0f15 100644
--- a/engines/kyra/staticres.cpp
+++ b/engines/kyra/staticres.cpp
@@ -3296,7 +3296,7 @@ const ScreenDim Screen_LoL::_screenDimTable16C[] = {
{ 0x00, 0x00, 0x28, 0xC8, 0x33, 0x44, 0x00, 0x00 }, // Taken from Intro
{ 0x08, 0x48, 0x18, 0x38, 0x33, 0x44, 0x00, 0x00 },
{ 0x0E, 0x00, 0x16, 0x78, 0x33, 0x44, 0x00, 0x00 },
- { 0x0B, 0x7B, 0x1C, 0x12, 0x33, 0x11, 0x00, 0x00 },
+ { 0x0B, 0x7B, 0x1C, 0x11, 0x33, 0x11, 0x00, 0x00 },
{ 0x0B, 0x7B, 0x1C, 0x2D, 0x33, 0x11, 0x00, 0x00 },
{ 0x55, 0x7B, 0xE9, 0x37, 0x33, 0x11, 0x00, 0x00 },
{ 0x0B, 0x8C, 0x10, 0x2B, 0x33, 0x44, 0x00, 0x00 }, // Main menu box (4 entries)
diff --git a/engines/kyra/text_lol.cpp b/engines/kyra/text_lol.cpp
index f8df8fcbca..23a9283b4e 100644
--- a/engines/kyra/text_lol.cpp
+++ b/engines/kyra/text_lol.cpp
@@ -105,7 +105,10 @@ void TextDisplayer_LoL::expandField() {
_vm->_timer->disable(11);
_screen->setScreenDim(clearDim(3));
_screen->copyRegionToBuffer(3, 0, 0, 320, 10, tmp);
- _screen->copyRegion(83, 140, 0, 0, 235, 3, 0, 2, Screen::CR_NO_P_CHECK);
+ if (_vm->gameFlags().use16ColorMode)
+ _screen->copyRegion(83, 139, 0, 0, 235, 4, 0, 2, Screen::CR_NO_P_CHECK);
+ else
+ _screen->copyRegion(83, 140, 0, 0, 235, 3, 0, 2, Screen::CR_NO_P_CHECK);
for (int i = 140; i < 177; i++) {
uint32 endTime = _vm->_system->getMillis() + _vm->_tickLength;