aboutsummaryrefslogtreecommitdiff
path: root/engines/tony/gfxengine.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/tony/gfxengine.h')
-rw-r--r--engines/tony/gfxengine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/tony/gfxengine.h b/engines/tony/gfxengine.h
index 18c13d8d3d..1a37de98e1 100644
--- a/engines/tony/gfxengine.h
+++ b/engines/tony/gfxengine.h
@@ -109,8 +109,8 @@ public:
void enableMouse(void);
void disableMouse(void);
- operator byte *() {
- return (byte *)_bigBuf;
+ operator RMGfxTargetBuffer &() {
+ return _bigBuf;
}
RMInput &getInput() {
return _input;