aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge/sludge.h
diff options
context:
space:
mode:
authoryinsimei2017-06-06 09:01:46 +0200
committerEugene Sandulenko2017-07-13 18:27:45 +0200
commit78cba75570115cf598a0c6c27a660f1ae0e985d6 (patch)
treefb7c0de9d508ef975ccefa0006fbc2c49985acfa /engines/sludge/sludge.h
parent839e7fb4d2d51c6abd38d1cc56a2d2cbd346d710 (diff)
downloadscummvm-rg350-78cba75570115cf598a0c6c27a660f1ae0e985d6.tar.gz
scummvm-rg350-78cba75570115cf598a0c6c27a660f1ae0e985d6.tar.bz2
scummvm-rg350-78cba75570115cf598a0c6c27a660f1ae0e985d6.zip
SLUDGE: change pixel formats to pointers and fix seg fault
Diffstat (limited to 'engines/sludge/sludge.h')
-rw-r--r--engines/sludge/sludge.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sludge/sludge.h b/engines/sludge/sludge.h
index 5fe09c3b74..5ec197f915 100644
--- a/engines/sludge/sludge.h
+++ b/engines/sludge/sludge.h
@@ -60,8 +60,8 @@ public:
const char *getGameId() const;
uint32 getFeatures() const;
Common::Language getLanguage() const;
- Graphics::PixelFormat getScreenPixelFormat() const;
- Graphics::PixelFormat getOrigPixelFormat() const;
+ Graphics::PixelFormat *getScreenPixelFormat() const;
+ Graphics::PixelFormat *getOrigPixelFormat() const;
const char *getGameFile() const;
@@ -70,8 +70,8 @@ public:
private:
SludgeConsole *_console;
Common::RandomSource *_rnd;
- Graphics::PixelFormat _pixelFormat;
- Graphics::PixelFormat _origFormat;
+ Graphics::PixelFormat *_pixelFormat;
+ Graphics::PixelFormat *_origFormat;
};
} // End of namespace Sludge