X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Fcspace.c;h=f0c491266ffcef63efc9d5a6b878d326b7ae8c9e;hb=955f9af0395a7fa2bba0d1c3a4e6ef5d3e111dae;hp=eee56ced2bf090bc41e15b125851aa94982c8305;hpb=55b0eeea6028e00741e620d28ab3211c49b8515f;p=pcsx_rearmed.git diff --git a/frontend/cspace.c b/frontend/cspace.c deleted file mode 100644 index eee56ced..00000000 --- a/frontend/cspace.c +++ /dev/null @@ -1,21 +0,0 @@ -#include "cspace.h" - -void bgr555_to_rgb565(void *dst_, const void *src_, int bytes) -{ - unsigned int *src = (unsigned int *)src_; - unsigned int *dst = (unsigned int *)dst_; - unsigned int p; - int x; - - for (x = 0; x < bytes / 4; x++) { - p = src[x]; - p = ((p & 0x7c007c00) >> 10) | ((p & 0x03e003e0) << 1) - | ((p & 0x001f001f) << 11); - dst[x] = p; - } -} - -// TODO? -void bgr888_to_rgb888(void *dst, const void *src, int bytes) {} -void bgr888_to_rgb565(void *dst, const void *src, int bytes) {} -