aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ds/arm9/source/cdaudio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/ds/arm9/source/cdaudio.cpp')
-rw-r--r--backends/platform/ds/arm9/source/cdaudio.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/backends/platform/ds/arm9/source/cdaudio.cpp b/backends/platform/ds/arm9/source/cdaudio.cpp
index 069f0fc09e..a69aedc91d 100644
--- a/backends/platform/ds/arm9/source/cdaudio.cpp
+++ b/backends/platform/ds/arm9/source/cdaudio.cpp
@@ -254,7 +254,12 @@ void update() {
}
#ifdef ARM_ADPCM
-extern "C" void ARM_adcpm(int *block, int len, int stepTableIndex,
+// FIXME: This code, as well as the source file adpcm_arm.s, are
+// apparently unused. Maybe that is a mistake? Or maybe there is a bug
+// in ARM_adpcm (then this should be reported and fixed). Or maybe there
+// are other good reasons to prefer the C code, but then this as well as
+// the assembler source file should be removed.
+extern "C" void ARM_adpcm(int *block, int len, int stepTableIndex,
int firstSample, s16 *decompressionBuffer);
#endif