summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-08-26 15:03:48 +0000
committerJens Arnold <amiconn@rockbox.org>2006-08-26 15:03:48 +0000
commit59d19526931e1b81d002bc29135f9d3c2ca9f6bf (patch)
tree72e106c6d2548177b3c60774d552537eed27882b
parentd70bd0e03d72e7ace4a2b2382a0cd60dbf2e2b0e (diff)
Make doom work with sound on X5.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10758 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/doom/i_sound.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugins/doom/i_sound.c b/apps/plugins/doom/i_sound.c
index 271444527f..11be0ee2c1 100644
--- a/apps/plugins/doom/i_sound.c
+++ b/apps/plugins/doom/i_sound.c
@@ -66,7 +66,9 @@
// Basically, samples from all active internal channels
// are modifed and added, and stored in the buffer
// that is submitted to the audio device.
-signed short mixbuffer[MIXBUFFERSIZE] IBSS_ATTR;
+signed short mixbuffer[MIXBUFFERSIZE];
+/* Don't place this in IRAM!
+ * Sound playback uses DMA, and not all IRAM is DMA capable on coldfire. */
typedef struct {
// SFX id of the playing sound effect.