aboutsummaryrefslogtreecommitdiff
path: root/engines/tony/gfxcore.h
diff options
context:
space:
mode:
authorTorbjörn Andersson2013-07-19 21:10:50 +0200
committerTorbjörn Andersson2013-07-19 21:10:50 +0200
commitc44d6ae60cfd1d06d2431918fb74c9ba1bfeb32e (patch)
treeb8db52b91cfd9a20de6c57129f499834a496203e /engines/tony/gfxcore.h
parent71ed35502e218a11c16af624ef5a0a77296184cf (diff)
downloadscummvm-rg350-c44d6ae60cfd1d06d2431918fb74c9ba1bfeb32e.tar.gz
scummvm-rg350-c44d6ae60cfd1d06d2431918fb74c9ba1bfeb32e.tar.bz2
scummvm-rg350-c44d6ae60cfd1d06d2431918fb74c9ba1bfeb32e.zip
TONY: Fix parameter to RMGfxSourceBuffer8RLEWordAA::init()
The method it is meant to override uses "const byte *buf" so this one should too. I don't know if/when it's called, but fuzzie tells me it should be a harmless change. Hopefully fixes CID 1003892.
Diffstat (limited to 'engines/tony/gfxcore.h')
-rw-r--r--engines/tony/gfxcore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tony/gfxcore.h b/engines/tony/gfxcore.h
index 1bacf7e5a9..2548968e81 100644
--- a/engines/tony/gfxcore.h
+++ b/engines/tony/gfxcore.h
@@ -408,7 +408,7 @@ public:
// Overloaded initialization methods
virtual void init(Common::ReadStream &ds, int dimx, int dimy, bool bLoadPalette = false);
- virtual int init(byte *buf, int dimx, int dimy, bool bLoadPalette = false);
+ virtual int init(const byte *buf, int dimx, int dimy, bool bLoadPalette = false);
virtual ~RMGfxSourceBuffer8RLEWordAA();
};