diff options
Diffstat (limited to 'backends/platform/psp/osys_psp.h')
-rw-r--r-- | backends/platform/psp/osys_psp.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/backends/platform/psp/osys_psp.h b/backends/platform/psp/osys_psp.h index b833f5e179..d5d3669a22 100644 --- a/backends/platform/psp/osys_psp.h +++ b/backends/platform/psp/osys_psp.h @@ -27,6 +27,7 @@ #include "common/scummsys.h" #include "common/system.h" #include "backends/intern.h" +#include "graphics/surface.h" #include <SDL.h> @@ -62,6 +63,7 @@ protected: bool _overlayVisible; uint32 _shakePos; + Graphics::Surface _framebuffer; bool _mouseVisible; int _mouseX, _mouseY; @@ -101,7 +103,8 @@ public: virtual int16 getHeight(); virtual void setPalette(const byte *colors, uint start, uint num); virtual void copyRectToScreen(const byte *buf, int pitch, int x, int y, int w, int h); - virtual bool grabRawScreen(Graphics::Surface *surf); + virtual Graphics::Surface *lockScreen(); + virtual void unlockScreen(); virtual void updateScreen(); virtual void setShakePos(int shakeOffset); |