diff options
| -rw-r--r-- | backends/platform/ps2/Gs2dScreen.cpp | 8 | ||||
| -rw-r--r-- | backends/platform/ps2/Gs2dScreen.h | 1 | ||||
| -rw-r--r-- | backends/platform/ps2/systemps2.cpp | 5 | ||||
| -rw-r--r-- | backends/platform/ps2/systemps2.h | 1 | 
4 files changed, 0 insertions, 15 deletions
diff --git a/backends/platform/ps2/Gs2dScreen.cpp b/backends/platform/ps2/Gs2dScreen.cpp index ddc1bdf668..b70e8b13fa 100644 --- a/backends/platform/ps2/Gs2dScreen.cpp +++ b/backends/platform/ps2/Gs2dScreen.cpp @@ -437,14 +437,6 @@ void Gs2dScreen::grabPalette(uint8 *pal, uint8 start, uint16 num) {  	}  } -void Gs2dScreen::grabScreen(Graphics::Surface *surf) { -	assert(surf); -	WaitSema(g_DmacSema); -	surf->create(_width, _height, Graphics::PixelFormat::createFormatCLUT8()); -	memcpy(surf->pixels, _screenBuf, _width * _height); -	SignalSema(g_DmacSema); -} -  void Gs2dScreen::uploadToVram(void) {  	if (_clutChanged) {  		_clutChanged = false; diff --git a/backends/platform/ps2/Gs2dScreen.h b/backends/platform/ps2/Gs2dScreen.h index 3701afd590..4fbb3fdef8 100644 --- a/backends/platform/ps2/Gs2dScreen.h +++ b/backends/platform/ps2/Gs2dScreen.h @@ -61,7 +61,6 @@ public:  	void setPalette(const uint8 *pal, uint8 start, uint16 num);  	void updateScreen(void);  	void grabPalette(uint8 *pal, uint8 start, uint16 num); -	void grabScreen(Graphics::Surface *surf);  	//- overlay routines  	void copyOverlayRect(const uint16 *buf, uint16 pitch, uint16 x, uint16 y, uint16 w, uint16 h);  	void grabOverlay(uint16 *buf, uint16 pitch); diff --git a/backends/platform/ps2/systemps2.cpp b/backends/platform/ps2/systemps2.cpp index c75d7493a2..481227dd02 100644 --- a/backends/platform/ps2/systemps2.cpp +++ b/backends/platform/ps2/systemps2.cpp @@ -558,11 +558,6 @@ void OSystem_PS2::copyRectToScreen(const byte *buf, int pitch, int x, int y, int  	_screen->copyScreenRect((const uint8*)buf, pitch, x, y, w, h);  } -bool OSystem_PS2::grabRawScreen(Graphics::Surface *surf) { -	_screen->grabScreen(surf); -	return true; -} -  void OSystem_PS2::updateScreen(void) {  	if (_msgClearTime && (_msgClearTime < getMillis())) {  		_screen->clearPrintfOverlay(); diff --git a/backends/platform/ps2/systemps2.h b/backends/platform/ps2/systemps2.h index 35ceaf829e..3a0e247737 100644 --- a/backends/platform/ps2/systemps2.h +++ b/backends/platform/ps2/systemps2.h @@ -64,7 +64,6 @@ public:  	virtual void copyRectToScreen(const byte *buf, int pitch, int x, int y, int w, int h);  	virtual void setShakePos(int shakeOffset); -	virtual bool grabRawScreen(Graphics::Surface *surf);  	virtual Graphics::Surface *lockScreen();  	virtual void unlockScreen();  	virtual void updateScreen();  | 
