aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/dm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/dm/dm.cpp')
-rw-r--r--engines/dm/dm.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/dm/dm.cpp b/engines/dm/dm.cpp
index 53ed3de574..e30aaced2c 100644
--- a/engines/dm/dm.cpp
+++ b/engines/dm/dm.cpp
@@ -57,6 +57,7 @@ Common::Error DMEngine::run() {
_displayMan->loadGraphics();
_dungeonMan->loadDungeonFile();
+ /*
_displayMan->loadPalette(palCredits);
uint16 width = _displayMan->getImageWidth(1);
@@ -64,14 +65,16 @@ Common::Error DMEngine::run() {
byte *cleanByteImg0Data = new byte[width * height];
_displayMan->loadIntoBitmap(1, cleanByteImg0Data);
_displayMan->blitToScreen(cleanByteImg0Data, width, height, 0, 0);
+ delete[] cleanByteImg0Data;
+ */
while (true) {
+ _displayMan->drawDungeon();
_displayMan->updateScreen();
_system->delayMillis(10);
}
- delete[] cleanByteImg0Data;
return Common::kNoError;
}