PS2: Remove custom OSystem::fillScreen implementation as well as clearScreen()

svn-id: r45973
This commit is contained in:
Max Horn 2009-11-18 13:59:36 +00:00
parent b6b96d9452
commit 9e5b8b4a33
4 changed files with 1 additions and 22 deletions

View file

@ -391,20 +391,6 @@ void Gs2dScreen::copyScreenRect(const uint8 *buf, int pitch, int x, int y, int w
}
}
void Gs2dScreen::clearScreen(void) {
WaitSema(g_DmacSema);
memset(_screenBuf, 0, _width * _height);
_screenChanged = true;
SignalSema(g_DmacSema);
}
void Gs2dScreen::fillScreen(uint32 col) {
WaitSema(g_DmacSema);
memset(_screenBuf, col, _width * _height);
_screenChanged = true;
SignalSema(g_DmacSema);
}
Graphics::Surface *Gs2dScreen::lockScreen() {
WaitSema(g_DmacSema);