aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorRobin Watts2008-10-26 10:33:04 +0000
committerRobin Watts2008-10-26 10:33:04 +0000
commit9021921303d88d4d59742a9207ca57ba96dfa535 (patch)
tree8e52499b7057c52182bcfaab11d0049b1b7e43c0 /backends
parent064b816b08cb27a5c8f4899d447c4b81597df968 (diff)
downloadscummvm-rg350-9021921303d88d4d59742a9207ca57ba96dfa535.tar.gz
scummvm-rg350-9021921303d88d4d59742a9207ca57ba96dfa535.tar.bz2
scummvm-rg350-9021921303d88d4d59742a9207ca57ba96dfa535.zip
DS port: Declare ARM blitters as being ITCM_CODE, so that we avoid the dreaded
"relocation truncated to fit" error in thumb builds. svn-id: r34849
Diffstat (limited to 'backends')
-rw-r--r--backends/platform/ds/arm9/source/blitters.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/backends/platform/ds/arm9/source/blitters.h b/backends/platform/ds/arm9/source/blitters.h
index 463aa2ac02..5f541d1bd6 100644
--- a/backends/platform/ds/arm9/source/blitters.h
+++ b/backends/platform/ds/arm9/source/blitters.h
@@ -19,7 +19,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
*/
-
+
#ifndef _BLITTERS_H_
#define _BLITTERS_H_
@@ -29,23 +29,23 @@
namespace DS {
-void asmDrawStripToScreen(int height, int width, byte const* text, byte const* src, byte* dst,
+void asmDrawStripToScreen(int height, int width, byte const* text, byte const* src, byte* dst,
int vsPitch, int vmScreenWidth, int textSurfacePitch);
void asmCopy8Col(byte* dst, int dstPitch, const byte* src, int height);
void Rescale_320x256xPAL8_To_256x256x1555(u16* dest, const u8* src, int destStride, int srcStride, const u16* palette);
void Rescale_320x256x1555_To_256x256x1555(u16* dest, const u16* src, int destStride, int srcStride);
}
-
+
#else
extern "C" {
-void asmDrawStripToScreen(int height, int width, byte const* text, byte const* src, byte* dst,
+void ITCM_CODE asmDrawStripToScreen(int height, int width, byte const* text, byte const* src, byte* dst,
int vsPitch, int vmScreenWidth, int textSurfacePitch);
-void asmCopy8Col(byte* dst, int dstPitch, const byte* src, int height);
-void Rescale_320x256xPAL8_To_256x256x1555(u16* dest, const u8* src, int destStride, int srcStride, const u16* palette, u32 numLines);
-void Rescale_320x256x1555_To_256x256x1555(u16* dest, const u16* src, int destStride, int srcStride);
+void ITCM_CODE asmCopy8Col(byte* dst, int dstPitch, const byte* src, int height);
+void ITCM_CODE Rescale_320x256xPAL8_To_256x256x1555(u16* dest, const u8* src, int destStride, int srcStride, const u16* palette, u32 numLines);
+void ITCM_CODE Rescale_320x256x1555_To_256x256x1555(u16* dest, const u16* src, int destStride, int srcStride);
}