diff options
author | notaz | 2011-09-02 17:44:41 +0300 |
---|---|---|
committer | notaz | 2011-09-02 17:44:41 +0300 |
commit | d5e0983c10e0ca717603dd1a406ff0d6e450e905 (patch) | |
tree | 99632bed2f11849a5709fb28c4d360e8efa71b09 | |
parent | c3c98c2f7c4d6cb73d3f038e2730ebe791d4492e (diff) | |
download | picogpsp-d5e0983c10e0ca717603dd1a406ff0d6e450e905.tar.gz picogpsp-d5e0983c10e0ca717603dd1a406ff0d6e450e905.tar.bz2 picogpsp-d5e0983c10e0ca717603dd1a406ff0d6e450e905.zip |
move platform-independent stuff out of /gp2x.
-rw-r--r-- | arm/arm_codegen.h (renamed from gp2x/arm_codegen.h) | 0 | ||||
-rw-r--r-- | arm/arm_dpimacros.h (renamed from gp2x/arm_dpimacros.h) | 0 | ||||
-rw-r--r-- | arm/arm_emit.h (renamed from gp2x/arm_emit.h) | 0 | ||||
-rw-r--r-- | arm/arm_stub.S (renamed from gp2x/arm_stub.S) | 0 | ||||
-rw-r--r-- | arm/video_blend.S (renamed from gp2x/video_blend.S) | 0 | ||||
-rw-r--r-- | cpu_threaded.c | 8 | ||||
-rw-r--r-- | gp2x/Makefile | 2 | ||||
-rw-r--r-- | video.c | 4 |
8 files changed, 5 insertions, 9 deletions
diff --git a/gp2x/arm_codegen.h b/arm/arm_codegen.h index 42b8795..42b8795 100644 --- a/gp2x/arm_codegen.h +++ b/arm/arm_codegen.h diff --git a/gp2x/arm_dpimacros.h b/arm/arm_dpimacros.h index 743d5a5..743d5a5 100644 --- a/gp2x/arm_dpimacros.h +++ b/arm/arm_dpimacros.h diff --git a/gp2x/arm_emit.h b/arm/arm_emit.h index 5d2eee0..5d2eee0 100644 --- a/gp2x/arm_emit.h +++ b/arm/arm_emit.h diff --git a/gp2x/arm_stub.S b/arm/arm_stub.S index a7271fd..a7271fd 100644 --- a/gp2x/arm_stub.S +++ b/arm/arm_stub.S diff --git a/gp2x/video_blend.S b/arm/video_blend.S index 63a5480..63a5480 100644 --- a/gp2x/video_blend.S +++ b/arm/video_blend.S diff --git a/cpu_threaded.c b/cpu_threaded.c index 4ff1548..377fb9d 100644 --- a/cpu_threaded.c +++ b/cpu_threaded.c @@ -190,13 +190,9 @@ extern u8 bit_count[256]; #include "psp/mips_emit.h" -#elif defined(GP2X_BUILD) +#elif defined(ARM_ARCH) -#include "gp2x/arm_emit.h" - -#elif defined(GIZ_BUILD) - -#include "giz/arm_emit.h" +#include "arm/arm_emit.h" #else diff --git a/gp2x/Makefile b/gp2x/Makefile index ed01178..2096419 100644 --- a/gp2x/Makefile +++ b/gp2x/Makefile @@ -20,7 +20,7 @@ endif # Platform specific definitions -VPATH += .. +VPATH += .. ../arm CFLAGS += -DARM_ARCH -DGP2X_BUILD ifeq ($(WIZ),1) CFLAGS += -DWIZ_BUILD @@ -2403,7 +2403,7 @@ fill_line_builder(color32); #ifdef RENDER_COLOR16_NORMAL -#ifndef GP2X_BUILD +#ifndef ARM_ARCH void expand_normal(u16 *screen_ptr, u32 start, u32 end) { @@ -2432,7 +2432,7 @@ void expand_normal(u16 *screen_ptr, u32 start, u32 end) #endif -#ifndef GP2X_BUILD +#ifndef ARM_ARCH void expand_blend(u32 *screen_src_ptr, u16 *screen_dest_ptr, u32 start, u32 end) |