aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Apers2007-12-09 11:12:42 +0000
committerChris Apers2007-12-09 11:12:42 +0000
commit55c07ca8455109281a08661ba3a9390a9ff39b07 (patch)
treea7c049826594231747f717d98ecf33278c3caad7
parent77d1b544a5dcb1db2fdcd147562ac73b670d61a4 (diff)
downloadscummvm-rg350-55c07ca8455109281a08661ba3a9390a9ff39b07.tar.gz
scummvm-rg350-55c07ca8455109281a08661ba3a9390a9ff39b07.tar.bz2
scummvm-rg350-55c07ca8455109281a08661ba3a9390a9ff39b07.zip
Use the same define as in C++ code
svn-id: r29781
-rw-r--r--sound/rate_arm_asm.s20
1 files changed, 10 insertions, 10 deletions
diff --git a/sound/rate_arm_asm.s b/sound/rate_arm_asm.s
index ccfa1e1351..6ec519f922 100644
--- a/sound/rate_arm_asm.s
+++ b/sound/rate_arm_asm.s
@@ -203,7 +203,7 @@ SimpleRate_M_end:
SimpleRate_M_read:
LDR r0, [r13,#4*2] @ r0 = sr
ADD r0, r0, #16 @ r0 = inPtr = inBuf
- .ifdef PALMOS
+ .ifdef PALMOS_MODE
LDR r10,[r13,#4*8] @ restore r10
.endif
STMFD r13!,{r0,r2-r3,r12,r14}
@@ -220,7 +220,7 @@ SimpleRate_M_read:
SUBS r1, r0, #1 @ r1 = inLen-1
LDMFD r13!,{r0,r2-r3,r12,r14}
BLT SimpleRate_M_end
- .ifdef PALMOS
+ .ifdef PALMOS_MODE
MOV r10,#0
.endif
SUBS r2, r2, #1 @ r2 = opos--
@@ -287,7 +287,7 @@ SimpleRate_S_end:
SimpleRate_S_read:
LDR r0, [r13,#4*2] @ r0 = sr
ADD r0, r0, #16 @ r0 = inPtr = inBuf
- .ifdef PALMOS
+ .ifdef PALMOS_MODE
LDR r10,[r13,#4*8] @ restore r10
.endif
STMFD r13!,{r0,r2-r3,r12,r14}
@@ -303,7 +303,7 @@ SimpleRate_S_read:
SUBS r1, r0, #2 @ r1 = inLen-2
LDMFD r13!,{r0,r2-r3,r12,r14}
BLT SimpleRate_S_end
- .ifdef PALMOS
+ .ifdef PALMOS_MODE
MOV r10,#0
.endif
SUBS r2, r2, #1 @ r2 = opos--
@@ -371,7 +371,7 @@ SimpleRate_R_end:
SimpleRate_R_read:
LDR r0, [r13,#4*2] @ r0 = sr
ADD r0, r0, #16 @ r0 = inPtr = inBuf
- .ifdef PALMOS
+ .ifdef PALMOS_MODE
LDR r10,[r13,#4*8] @ restore r10
.endif
STMFD r13!,{r0,r2-r3,r12,r14}
@@ -388,7 +388,7 @@ SimpleRate_R_read:
SUBS r1, r0, #2 @ r1 = inLen-2
LDMFD r13!,{r0,r2-r3,r12,r14}
BLT SimpleRate_R_end
- .ifdef PALMOS
+ .ifdef PALMOS_MODE
MOV r10,#0
.endif
SUBS r2, r2, #1 @ r2 = opos--
@@ -472,7 +472,7 @@ LinearRate_M_end:
LDMFD r13!,{r4-r11,PC}
LinearRate_M_read:
ADD r0, r2, #28 @ r0 = inPtr = inBuf
- .ifdef PALMOS
+ .ifdef PALMOS_MODE
LDR r10,[r13,#4*8] @ restore r10
.endif
STMFD r13!,{r0,r2-r3,r12,r14}
@@ -489,7 +489,7 @@ LinearRate_M_read:
SUBS r1, r0, #1 @ r1 = inLen-1
LDMFD r13!,{r0,r2-r3,r12,r14}
BLT LinearRate_M_end
- .ifdef PALMOS
+ .ifdef PALMOS_MODE
MOV r10,#0
.endif
B LinearRate_M_read_return
@@ -579,7 +579,7 @@ LinearRate_S_end:
LDMFD r13!,{r4-r11,PC}
LinearRate_S_read:
ADD r0, r2, #28 @ r0 = inPtr = inBuf
- .ifdef PALMOS
+ .ifdef PALMOS_MODE
LDR r10,[r13,#4*8] @ restore r10
.endif
STMFD r13!,{r0,r2-r3,r12,r14}
@@ -683,7 +683,7 @@ LinearRate_R_end:
LDMFD r13!,{r4-r11,PC}
LinearRate_R_read:
ADD r0, r2, #28 @ r0 = inPtr = inBuf
- .ifdef PALMOS
+ .ifdef PALMOS_MODE
LDR r10,[r13,#4*8] @ restore r10
.endif
STMFD r13!,{r0,r2-r3,r12,r14}