aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge/main_loop.cpp
diff options
context:
space:
mode:
authoryinsimei2017-05-29 10:27:23 +0200
committerEugene Sandulenko2017-07-13 18:27:45 +0200
commit6e5dec313788be6ac3083e9d3ca30a9b66243894 (patch)
tree5d2e850b46faeb045690ed3f25566cec9a3c7b20 /engines/sludge/main_loop.cpp
parentca2ee02496f232a53ed6c96bd296e0941da636f6 (diff)
downloadscummvm-rg350-6e5dec313788be6ac3083e9d3ca30a9b66243894.tar.gz
scummvm-rg350-6e5dec313788be6ac3083e9d3ca30a9b66243894.tar.bz2
scummvm-rg350-6e5dec313788be6ac3083e9d3ca30a9b66243894.zip
SLUDGE: Fix png displaying
Diffstat (limited to 'engines/sludge/main_loop.cpp')
-rw-r--r--engines/sludge/main_loop.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sludge/main_loop.cpp b/engines/sludge/main_loop.cpp
index 8496a9b041..5e9a0f11ae 100644
--- a/engines/sludge/main_loop.cpp
+++ b/engines/sludge/main_loop.cpp
@@ -74,6 +74,7 @@
#include "graphics.h"
#include "helpers.h"
#include "graphics/surface.h"
+#include "common/debug.h"
namespace Sludge {
@@ -480,7 +481,9 @@ int main_loop(char *filename)
g_system->copyRectToScreen(backdropSurface.getPixels(),
backdropSurface.pitch, 0, 0, backdropSurface.w,
backdropSurface.h);
+ //g_system->getPaletteManager()->setPalette(_image->getPalette(), 0, 256);
g_system->updateScreen();
+ g_system->delayMillis(100);
#if 0
Wait_Frame();
#endif