Commit 875e9b35d70d88b2de3fdb7b57e4fecd8f35d39a

Michael Fitzmayer 2022-10-26T15:19:28

N-Gage: additional cleanup

diff --git a/src/video/ngage/SDL_ngageframebuffer.cpp b/src/video/ngage/SDL_ngageframebuffer.cpp
index a67fa5a..98ff9ff 100644
--- a/src/video/ngage/SDL_ngageframebuffer.cpp
+++ b/src/video/ngage/SDL_ngageframebuffer.cpp
@@ -220,10 +220,9 @@ void DirectDraw(_THIS, int numrects, SDL_Rect *rects, TUint16* screenBuffer)
 
     TInt i;
 
-    //const TInt   sourceNumBytesPerPixel = ((screen->format->BitsPerPixel-1) >> 3) + 1;
     TDisplayMode displayMode            = phdata->NGAGE_DisplayMode;
     const TInt   sourceNumBytesPerPixel = ((GetBpp(displayMode)-1) / 8) + 1;
-    //
+
     const TPoint fixedOffset            = phdata->NGAGE_ScreenOffset;
     const TInt   screenW                = screen->w;
     const TInt   screenH                = screen->h;
@@ -383,7 +382,6 @@ void DirectUpdate(_THIS, int numrects, SDL_Rect *rects)
         DirectDraw(_this, numrects, rects, screenBuffer);
     }
 
-    //TRect rect2 = TRect(phdata->NGAGE_WsWindow.Size());
     for (int i = 0; i < numrects; ++i)
     {
         TInt  aAx   = rects[i].x;