aboutsummaryrefslogtreecommitdiff
path: root/frontend/cspace.c
diff options
context:
space:
mode:
authornotaz2013-02-08 02:13:03 +0200
committernotaz2013-02-08 02:13:03 +0200
commitd57557c0644f9294e30657f0c7cf673cf2914695 (patch)
treef8623af5beeb8939631acceb2acb505c9497f71c /frontend/cspace.c
parentc82f907a99f7d0d3071471489d247f4b4394a8b7 (diff)
downloadpcsx_rearmed-d57557c0644f9294e30657f0c7cf673cf2914695.tar.gz
pcsx_rearmed-d57557c0644f9294e30657f0c7cf673cf2914695.tar.bz2
pcsx_rearmed-d57557c0644f9294e30657f0c7cf673cf2914695.zip
frontend: add armv6 color space converter
Diffstat (limited to 'frontend/cspace.c')
-rw-r--r--frontend/cspace.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/frontend/cspace.c b/frontend/cspace.c
index f0c4912..33a981d 100644
--- a/frontend/cspace.c
+++ b/frontend/cspace.c
@@ -15,7 +15,7 @@
* in favor of NEON version or platform-specific conversion
*/
-#ifndef __ARM_NEON__
+#ifndef __arm__
void bgr555_to_rgb565(void *dst_, const void *src_, int bytes)
{
@@ -32,6 +32,10 @@ void bgr555_to_rgb565(void *dst_, const void *src_, int bytes)
}
}
+#endif
+
+#ifndef __ARM_NEON__
+
void bgr888_to_rgb565(void *dst_, const void *src_, int bytes)
{
const unsigned char *src = src_;