aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/platform/ps2/systemps2.h2
-rw-r--r--common/system.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/backends/platform/ps2/systemps2.h b/backends/platform/ps2/systemps2.h
index c0a8b9af60..7f29677ba5 100644
--- a/backends/platform/ps2/systemps2.h
+++ b/backends/platform/ps2/systemps2.h
@@ -76,6 +76,8 @@ public:
virtual void clearOverlay();
virtual void grabOverlay(OverlayColor *buf, int pitch);
virtual void copyRectToOverlay(const OverlayColor *buf, int pitch, int x, int y, int w, int h);
+ virtual int16 getOverlayHeight() { return getHeight(); }
+ virtual int16 getOverlayWidth() { return getWidth(); }
virtual bool showMouse(bool visible);
diff --git a/common/system.h b/common/system.h
index 8c05b6d756..913c19c70e 100644
--- a/common/system.h
+++ b/common/system.h
@@ -640,13 +640,13 @@ public:
* Return the height of the overlay.
* @see getHeight
*/
- virtual int16 getOverlayHeight() { return getHeight(); }
+ virtual int16 getOverlayHeight() = 0;
/**
* Return the width of the overlay.
* @see getWidth
*/
- virtual int16 getOverlayWidth() { return getWidth(); }
+ virtual int16 getOverlayWidth() = 0;
//@}