aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/save/savefile.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/save/savefile.h')
-rw-r--r--engines/gob/save/savefile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/save/savefile.h b/engines/gob/save/savefile.h
index 6c211c1d5c..989a37277e 100644
--- a/engines/gob/save/savefile.h
+++ b/engines/gob/save/savefile.h
@@ -162,7 +162,7 @@ public:
/** Read a palette into the part. */
bool readPalette(const byte *palette);
/** Read a sprite into the part. */
- bool readSprite(const SurfaceDesc *sprite);
+ bool readSprite(const SurfaceDesc &sprite);
/** Read size bytes of raw data into the sprite. */
bool readSpriteRaw(const byte *data, uint32 size);
@@ -170,7 +170,7 @@ public:
/** Write a palette out of the part. */
bool writePalette(byte *palette) const;
/** Write a sprite out of the part. */
- bool writeSprite(SurfaceDesc *sprite) const;
+ bool writeSprite(SurfaceDesc &sprite) const;
private:
uint32 _width;