Skip to content

Commit

Permalink
HOPKINS: Fix regressions in d6f7207
Browse files Browse the repository at this point in the history
  • Loading branch information
Strangerke committed Jan 4, 2013
1 parent 9a08992 commit 668cba5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engines/hopkins/graphics.cpp
Expand Up @@ -773,7 +773,7 @@ void GraphicsManager::Copy_WinScan_Vbe3(const byte *srcData, byte *destSurface)
return;

if (srcByte < kSetOffset) {
destOffset += srcP[35];
destOffset += (byte)(srcP[0] + 35);
srcByte = srcP[1];
srcP++;
} else if (srcByte == k8bVal) {
Expand All @@ -799,7 +799,7 @@ void GraphicsManager::Copy_WinScan_Vbe3(const byte *srcData, byte *destSurface)
memset(destSlice1P, rleValue, destLen1);
srcP += 3;
} else {
destLen2 = srcP[45];
destLen2 = (byte)(srcP[0] + 45);
rleValue = srcP[1];
destSlice2P = destOffset + destSurface;
destOffset += destLen2;
Expand Down

0 comments on commit 668cba5

Please sign in to comment.