[Scummvm-git-logs] scummvm master -> cd356594152091a5a34a1b05c04a7bee44a8043d
sev-
sev at scummvm.org
Thu Jul 1 11:26:44 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
cd35659415 SAGA2: Fix funciton prototype inconsistency
Commit: cd356594152091a5a34a1b05c04a7bee44a8043d
https://github.com/scummvm/scummvm/commit/cd356594152091a5a34a1b05c04a7bee44a8043d
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2021-07-01T13:26:29+02:00
Commit Message:
SAGA2: Fix funciton prototype inconsistency
Changed paths:
engines/saga2/blitters.cpp
diff --git a/engines/saga2/blitters.cpp b/engines/saga2/blitters.cpp
index 7f632d232b..a46936cd65 100644
--- a/engines/saga2/blitters.cpp
+++ b/engines/saga2/blitters.cpp
@@ -301,7 +301,7 @@ void maskTile(gPixelMap *map, int32 x, int32 y, int32 height, uint8 *srcData) {
drawTile(map, x, y, height, srcData, true);
}
-void TBlit(gPixelMap *dstMap, gPixelMap *srcMap, int xpos, int ypos) {
+void TBlit(gPixelMap *dstMap, gPixelMap *srcMap, int32 xpos, int32 ypos) {
int16 w = srcMap->size.x;
int16 h = srcMap->size.y;
int32 offset = 0;
@@ -349,7 +349,7 @@ void TBlit4(gPixelMap *d, gPixelMap *s, int32 x, int32 y) {
TBlit(d, s, x, y);
}
-void compositePixels(gPixelMap *compMap, gPixelMap *sprMap, int xpos, int ypos, byte *lookup) {
+void compositePixels(gPixelMap *compMap, gPixelMap *sprMap, int32 xpos, int32 ypos, byte *lookup) {
byte *srcPtr = sprMap->data;
byte *dstPtr = compMap->data + xpos + ypos * compMap->size.x;
int16 rowMod = compMap->size.x - sprMap->size.x;
@@ -367,7 +367,7 @@ void compositePixels(gPixelMap *compMap, gPixelMap *sprMap, int xpos, int ypos,
}
}
-void compositePixelsRvs(gPixelMap *compMap, gPixelMap *sprMap, int xpos, int ypos, byte *lookup) {
+void compositePixelsRvs(gPixelMap *compMap, gPixelMap *sprMap, int32 xpos, int32 ypos, byte *lookup) {
byte *srcPtr = sprMap->data + sprMap->bytes();
byte *dstPtr = compMap->data + xpos + (ypos + sprMap->size.y) * compMap->size.x;
More information about the Scummvm-git-logs
mailing list