aboutsummaryrefslogtreecommitdiff
path: root/frontend/cspace.c
diff options
context:
space:
mode:
authornotaz2012-01-19 01:33:12 +0200
committernotaz2012-01-19 01:38:45 +0200
commit62d7fa9555924ab8e152b546711d27add640b102 (patch)
tree28c231a8f642d28d357bbdce9edb2b79e199764e /frontend/cspace.c
parent5d834c089ea695dba7643cba8686ce2ac06d8db4 (diff)
downloadpcsx_rearmed-62d7fa9555924ab8e152b546711d27add640b102.tar.gz
pcsx_rearmed-62d7fa9555924ab8e152b546711d27add640b102.tar.bz2
pcsx_rearmed-62d7fa9555924ab8e152b546711d27add640b102.zip
refactor gpu plugins and Makefiles
name common gpu code gpulib, reduce amount of copy-paste in plugin Makefiles
Diffstat (limited to 'frontend/cspace.c')
-rw-r--r--frontend/cspace.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/frontend/cspace.c b/frontend/cspace.c
deleted file mode 100644
index eee56ce..0000000
--- 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) {}
-