diff options
author | Travis Howell | 2009-07-15 13:19:49 +0000 |
---|---|---|
committer | Travis Howell | 2009-07-15 13:19:49 +0000 |
commit | a0d05a93f8cdd5e0481f9b9e1c75d861c0399064 (patch) | |
tree | 971e7813857177f32e5eb05cbbfdb61e8dfc78b1 /engines | |
parent | 11e6c92bd8e9b82a634ca300922d809e07809782 (diff) | |
download | scummvm-rg350-a0d05a93f8cdd5e0481f9b9e1c75d861c0399064.tar.gz scummvm-rg350-a0d05a93f8cdd5e0481f9b9e1c75d861c0399064.tar.bz2 scummvm-rg350-a0d05a93f8cdd5e0481f9b9e1c75d861c0399064.zip |
Fix recent PN regression in vc32_saveScreen().
svn-id: r42504
Diffstat (limited to 'engines')
-rw-r--r-- | engines/agos/vga.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/agos/vga.cpp b/engines/agos/vga.cpp index d2e620d86e..d37681508e 100644 --- a/engines/agos/vga.cpp +++ b/engines/agos/vga.cpp @@ -1186,7 +1186,8 @@ void AGOSEngine::vc32_saveScreen() { byte *src = (byte *)screen->pixels; for (int i = 0; i < _screenHeight; i++) { memcpy(dst, src, _screenWidth); - dst += screen->pitch; + dst += _backGroundBuf->pitch; + src += screen->pitch; } _system->unlockScreen(); } else { |