aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/gfx.cpp
diff options
context:
space:
mode:
authordhewg2011-04-23 03:28:26 +0200
committerdhewg2011-04-23 03:39:37 +0200
commit983b044ccb9b82eabd8d3b667822c3693ddb4e6d (patch)
tree50db690f4b99a71e1dae877a4d0becb86ec23446 /engines/scumm/gfx.cpp
parentb4f8a63171967814d43a1e3883055b03f6d5b8ac (diff)
downloadscummvm-rg350-983b044ccb9b82eabd8d3b667822c3693ddb4e6d.tar.gz
scummvm-rg350-983b044ccb9b82eabd8d3b667822c3693ddb4e6d.tar.bz2
scummvm-rg350-983b044ccb9b82eabd8d3b667822c3693ddb4e6d.zip
ARM: Global symbols get an underscore prefix on darwin
apply same solution as for the sound/smush ARM asm here
Diffstat (limited to 'engines/scumm/gfx.cpp')
-rw-r--r--engines/scumm/gfx.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/scumm/gfx.cpp b/engines/scumm/gfx.cpp
index a6a97ec426..80c13d30e3 100644
--- a/engines/scumm/gfx.cpp
+++ b/engines/scumm/gfx.cpp
@@ -36,6 +36,12 @@
#include "scumm/util.h"
#ifdef USE_ARM_GFX_ASM
+
+#ifndef IPHONE
+#define asmDrawStripToScreen _asmDrawStripToScreen
+#define asmCopy8Col _asmCopy8Col
+#endif
+
extern "C" void asmDrawStripToScreen(int height, int width, void const* text, void const* src, byte* dst,
int vsPitch, int vmScreenWidth, int textSurfacePitch);
extern "C" void asmCopy8Col(byte* dst, int dstPitch, const byte* src, int height, uint8 bitDepth);