aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2014-06-17 14:00:47 +0300
committerEugene Sandulenko2014-06-17 14:00:47 +0300
commit8738d55b049c996578749010bfca33985e4da4aa (patch)
tree224212285c0929a28daedec850ef2854eaff8577 /engines
parentae12264c5f8e4aa5eb7422f1b4719846f758e14b (diff)
downloadscummvm-rg350-8738d55b049c996578749010bfca33985e4da4aa.tar.gz
scummvm-rg350-8738d55b049c996578749010bfca33985e4da4aa.tar.bz2
scummvm-rg350-8738d55b049c996578749010bfca33985e4da4aa.zip
FULLPIPE: Switch engine to 32 bit
Diffstat (limited to 'engines')
-rw-r--r--engines/fullpipe/fullpipe.cpp2
-rw-r--r--engines/fullpipe/gfx.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/engines/fullpipe/fullpipe.cpp b/engines/fullpipe/fullpipe.cpp
index f79564eb27..0c74c758a2 100644
--- a/engines/fullpipe/fullpipe.cpp
+++ b/engines/fullpipe/fullpipe.cpp
@@ -243,7 +243,7 @@ void FullpipeEngine::restartGame() {
}
Common::Error FullpipeEngine::run() {
- const Graphics::PixelFormat format(2, 5, 6, 5, 0, 11, 5, 0, 0);
+ const Graphics::PixelFormat format(4, 8, 8, 8, 8, 24, 16, 8, 0);
// Initialize backend
initGraphics(800, 600, true, &format);
diff --git a/engines/fullpipe/gfx.cpp b/engines/fullpipe/gfx.cpp
index 519b39f846..220892d67e 100644
--- a/engines/fullpipe/gfx.cpp
+++ b/engines/fullpipe/gfx.cpp
@@ -847,6 +847,8 @@ void Bitmap::decode(int32 *palette) {
putDibRB(palette);
else
putDibCB(palette);
+
+ _surface->convertToInPlace(Graphics::PixelFormat(4, 8, 8, 8, 8, 24, 16, 8, 0));
}
void Bitmap::putDib(int x, int y, int32 *palette) {