Skip to content

Commit

Permalink
IPHONE: Remove some dead code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Schickel committed Feb 19, 2012
1 parent 723a38c commit 1b9c4f3
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions backends/platform/iphone/osys_video.cpp
Expand Up @@ -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);
}

Expand Down

0 comments on commit 1b9c4f3

Please sign in to comment.