aboutsummaryrefslogtreecommitdiff
path: root/common/scaler.cpp
diff options
context:
space:
mode:
authorMax Horn2003-10-02 23:29:58 +0000
committerMax Horn2003-10-02 23:29:58 +0000
commita02c13a52e2532e50ac768ed0dc730982f4c130e (patch)
tree2662d7a6414cea61c51f8934353010c86053e84b /common/scaler.cpp
parentbb5351f0a8680845eb975a60eab961aa15e08729 (diff)
downloadscummvm-rg350-a02c13a52e2532e50ac768ed0dc730982f4c130e.tar.gz
scummvm-rg350-a02c13a52e2532e50ac768ed0dc730982f4c130e.tar.bz2
scummvm-rg350-a02c13a52e2532e50ac768ed0dc730982f4c130e.zip
fix scaler compilation for MSVC6. However, the produced code stll seems to be incorrect... Jamieson, maybe the MSVC6_COMPAT should be re-added then after all?
svn-id: r10552
Diffstat (limited to 'common/scaler.cpp')
-rw-r--r--common/scaler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/scaler.cpp b/common/scaler.cpp
index d8522440af..00f784fd0a 100644
--- a/common/scaler.cpp
+++ b/common/scaler.cpp
@@ -233,7 +233,7 @@ void AdvMame3x(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPi
}
template<int bitFormat>
-void TV2x(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch,
+void TV2xTemplate(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch,
int width, int height) {
const uint32 nextlineSrc = srcPitch / sizeof(uint16);
const uint16 *p = (const uint16 *)srcPtr;