aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/dm.cpp
diff options
context:
space:
mode:
authorBendegúz Nagy2016-07-04 20:54:17 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commit411ad40ca43b900e3bdb9804ca39b10b25d6fa4b (patch)
treea02018074d8a8d70ac7f4589a068d13e502fe7ad /engines/dm/dm.cpp
parent7fef7b83127f532781fec64eea3229d56c080902 (diff)
downloadscummvm-rg350-411ad40ca43b900e3bdb9804ca39b10b25d6fa4b.tar.gz
scummvm-rg350-411ad40ca43b900e3bdb9804ca39b10b25d6fa4b.tar.bz2
scummvm-rg350-411ad40ca43b900e3bdb9804ca39b10b25d6fa4b.zip
DM: Add missing code to several display functions
Diffstat (limited to 'engines/dm/dm.cpp')
-rw-r--r--engines/dm/dm.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/dm/dm.cpp b/engines/dm/dm.cpp
index 7fa1eea7b9..d824cf349a 100644
--- a/engines/dm/dm.cpp
+++ b/engines/dm/dm.cpp
@@ -88,6 +88,10 @@ uint16 M75_bitmapByteCount(uint16 pixelWidth, uint16 height) {
return pixelWidth / 2 * height;
}
+uint16 M21_normalizeModulo4(uint16 val) {
+ return val & 3;
+}
+
DMEngine::DMEngine(OSystem *syst) : Engine(syst), _console(nullptr) {
// Do not load data files
// Do not initialize graphics here