IPHONE: Remove some dead code.

This commit is contained in:
Johannes Schickel 2012-02-20 00:35:44 +01:00
parent 723a38c699
commit 1b9c4f3845

View File

@ -208,16 +208,6 @@ void OSystem_IPHONE::drawDirtyRect(const Common::Rect &dirtyRect) {
}
void OSystem_IPHONE::drawDirtyOverlayRect(const Common::Rect &dirtyRect) {
// int h = dirtyRect.bottom - dirtyRect.top;
//
// uint16 *src = (uint16 *)&_overlayBuffer[dirtyRect.top * _screenWidth + dirtyRect.left];
// uint16 *dst = &_fullscreen[dirtyRect.top * _screenWidth + dirtyRect.left];
// int x = (dirtyRect.right - dirtyRect.left) * 2;
// for (int y = h; y > 0; y--) {
// memcpy(dst, src, x);
// src += _screenWidth;
// dst += _screenWidth;
// }
iPhone_updateOverlayRect(_overlayBuffer, dirtyRect.left, dirtyRect.top, dirtyRect.right, dirtyRect.bottom);
}