aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/platform/wince/Makefile4
-rw-r--r--engines/scumm/costume.cpp3
2 files changed, 6 insertions, 1 deletions
diff --git a/backends/platform/wince/Makefile b/backends/platform/wince/Makefile
index 134c1cfe14..51ff9d0a81 100644
--- a/backends/platform/wince/Makefile
+++ b/backends/platform/wince/Makefile
@@ -152,6 +152,10 @@ ifdef USE_ARM_GFX_ASM
DEFINES += -DUSE_ARM_GFX_ASM
endif
+ifdef USE_ARM_COSTUME_ASM
+DEFINES += -DUSE_ARM_COSTUME_ASM
+endif
+
########################################################################
# Targets follow here
diff --git a/engines/scumm/costume.cpp b/engines/scumm/costume.cpp
index 3ab1b19bbf..82497de87a 100644
--- a/engines/scumm/costume.cpp
+++ b/engines/scumm/costume.cpp
@@ -444,7 +444,7 @@ void ClassicCostumeRenderer::proc3(Codec1 &v1) {
_scaleIndexX = ClassicProc3RendererShadowARM(_scaleY,
&v1,
&_out,
- src,
+ _srcptr,
_height,
_scaleX,
_scaleIndexX,
@@ -452,6 +452,7 @@ void ClassicCostumeRenderer::proc3(Codec1 &v1) {
_palette,
_numStrips,
_scaleIndexY);
+ return;
}
#endif /* USE_ARM_COSTUME_ASM */