diff options
author | Strangerke | 2013-01-04 14:17:51 +0100 |
---|---|---|
committer | Strangerke | 2013-01-04 14:17:51 +0100 |
commit | 668cba5bea190f7475ee6ed982cd9f028ae74421 (patch) | |
tree | 8eb21b9ba62e179b584a6ba91441b6a6ea51ee67 /engines/hopkins/graphics.cpp | |
parent | 9a089929b261e600a753b83bd2393ad7ba23612a (diff) | |
download | scummvm-rg350-668cba5bea190f7475ee6ed982cd9f028ae74421.tar.gz scummvm-rg350-668cba5bea190f7475ee6ed982cd9f028ae74421.tar.bz2 scummvm-rg350-668cba5bea190f7475ee6ed982cd9f028ae74421.zip |
HOPKINS: Fix regressions in d6f72071a42559299139fd2f162c98c7f01a0b51
Diffstat (limited to 'engines/hopkins/graphics.cpp')
-rw-r--r-- | engines/hopkins/graphics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hopkins/graphics.cpp b/engines/hopkins/graphics.cpp index 03181cf8ca..d777517402 100644 --- a/engines/hopkins/graphics.cpp +++ b/engines/hopkins/graphics.cpp @@ -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) { @@ -799,7 +799,7 @@ Video_Cont3_wVbe: memset(destSlice1P, rleValue, destLen1); srcP += 3; } else { - destLen2 = srcP[45]; + destLen2 = (byte)(srcP[0] + 45); rleValue = srcP[1]; destSlice2P = destOffset + destSurface; destOffset += destLen2; |