summaryrefslogtreecommitdiff
path: root/apps/plugins/test_codec.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2009-01-24 03:47:09 +0000
committerMichael Sevakis <jethead71@rockbox.org>2009-01-24 03:47:09 +0000
commitb0befadad1d9ec691ba647b948422e66a43f3674 (patch)
tree92f5fe47e0826daab66d2e321c96412841392058 /apps/plugins/test_codec.c
parentef8413eb4fd7fead45d33b3ecae003210978b85d (diff)
downloadrockbox-b0befadad1d9ec691ba647b948422e66a43f3674.tar.gz
rockbox-b0befadad1d9ec691ba647b948422e66a43f3674.zip
Include divide-by-zero handling within plugins and codecs for ARM processors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19834 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/test_codec.c')
-rw-r--r--apps/plugins/test_codec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c
index 48fceb9cf2..ec5c8e9800 100644
--- a/apps/plugins/test_codec.c
+++ b/apps/plugins/test_codec.c
@@ -494,6 +494,9 @@ static void init_ci(void)
494 ci.semaphore_release = rb->semaphore_release; 494 ci.semaphore_release = rb->semaphore_release;
495#endif 495#endif
496 496
497#ifdef CPU_ARM
498 ci.__div0 = rb->__div0;
499#endif
497} 500}
498 501
499static void codec_thread(void) 502static void codec_thread(void)