aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/gui
diff options
context:
space:
mode:
authorathrxx2019-12-10 22:05:18 +0100
committerathrxx2019-12-18 20:50:47 +0100
commit04e85a0f3d71c8740ecaf8ff2e66143e95ec055a (patch)
treea167f194b0c90c63d4dfe2887e57f9848ee0778c /engines/kyra/gui
parente2d4f1e6f141f398dc08e0b8f777332ff2c48b98 (diff)
downloadscummvm-rg350-04e85a0f3d71c8740ecaf8ff2e66143e95ec055a.tar.gz
scummvm-rg350-04e85a0f3d71c8740ecaf8ff2e66143e95ec055a.tar.bz2
scummvm-rg350-04e85a0f3d71c8740ecaf8ff2e66143e95ec055a.zip
KYRA: (Amiga) - minor code reduction
(eliminate some duplicate code for dirty rect handling)
Diffstat (limited to 'engines/kyra/gui')
-rw-r--r--engines/kyra/gui/gui_eob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/gui/gui_eob.cpp b/engines/kyra/gui/gui_eob.cpp
index 6c7ad4423c..77fc28d6c3 100644
--- a/engines/kyra/gui/gui_eob.cpp
+++ b/engines/kyra/gui/gui_eob.cpp
@@ -66,7 +66,7 @@ void EoBCoreEngine::gui_drawPlayField(bool refresh) {
if (_flags.gameID == GI_EOB1) {
_screen->getPalette(0).copy(_screen->getPalette(1), 1, 5, 1);
} else {
- _screen->setupDualPalettesSplitScreen(_screen->getPalette(6), _screen->getPalette(1));
+ _screen->setDualPalettes(_screen->getPalette(6), _screen->getPalette(1));
_screen->getPalette(7).copy(_screen->getPalette(1), 0, 32);
}
}