[Scummvm-cvs-logs] SF.net SVN: scummvm:[38353] scummvm/branches/branch-0-13-0/backends/ platform/wince/wince-sdl.cpp

knakos at users.sourceforge.net knakos at users.sourceforge.net
Mon Feb 16 08:27:28 CET 2009


Revision: 38353
          http://scummvm.svn.sourceforge.net/scummvm/?rev=38353&view=rev
Author:   knakos
Date:     2009-02-16 07:27:28 +0000 (Mon, 16 Feb 2009)

Log Message:
-----------
fix random crashes on vga devices when using exotic scalers (sync)

Modified Paths:
--------------
    scummvm/branches/branch-0-13-0/backends/platform/wince/wince-sdl.cpp

Modified: scummvm/branches/branch-0-13-0/backends/platform/wince/wince-sdl.cpp
===================================================================
--- scummvm/branches/branch-0-13-0/backends/platform/wince/wince-sdl.cpp	2009-02-16 07:27:04 UTC (rev 38352)
+++ scummvm/branches/branch-0-13-0/backends/platform/wince/wince-sdl.cpp	2009-02-16 07:27:28 UTC (rev 38353)
@@ -1713,7 +1713,7 @@
 		SDL_LockSurface(_hwscreen);
 		srcPitch = toolbarSurface->pitch;
 		dstPitch = _hwscreen->pitch;
-		_scalerProc((byte *)toolbarSurface->pixels, srcPitch, (byte *)_hwscreen->pixels + (_toolbarHandler.getOffset() * _scaleFactorYm / _scaleFactorYd * dstPitch), dstPitch, toolbar_rect[0].w, toolbar_rect[0].h);
+		Normal2x((byte *)toolbarSurface->pixels, srcPitch, (byte *)_hwscreen->pixels + (_toolbarHandler.getOffset() * _scaleFactorYm / _scaleFactorYd * dstPitch), dstPitch, toolbar_rect[0].w, toolbar_rect[0].h);
 		SDL_UnlockSurface(toolbarSurface);
 		SDL_UnlockSurface(_hwscreen);
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list