diff options
author | Kostas Nakos | 2009-02-16 07:27:04 +0000 |
---|---|---|
committer | Kostas Nakos | 2009-02-16 07:27:04 +0000 |
commit | 1bd700b51ec9917dbb62fe6314857201f256a1c6 (patch) | |
tree | 4f8567fbfa6ae5a332d0b70b91aaa25a99eb12d5 /backends/platform/wince | |
parent | 2a7d22702cce12f3d0ab04b6f0d1c187346c72f3 (diff) | |
download | scummvm-rg350-1bd700b51ec9917dbb62fe6314857201f256a1c6.tar.gz scummvm-rg350-1bd700b51ec9917dbb62fe6314857201f256a1c6.tar.bz2 scummvm-rg350-1bd700b51ec9917dbb62fe6314857201f256a1c6.zip |
fix random crashes on vga devices when using exotic scalers
svn-id: r38352
Diffstat (limited to 'backends/platform/wince')
-rw-r--r-- | backends/platform/wince/wince-sdl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/wince/wince-sdl.cpp b/backends/platform/wince/wince-sdl.cpp index f8390290db..3e1a418298 100644 --- a/backends/platform/wince/wince-sdl.cpp +++ b/backends/platform/wince/wince-sdl.cpp @@ -1723,7 +1723,7 @@ void OSystem_WINCE3::internUpdateScreen() { 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); |