move platform-independent stuff out of /gp2x.

This commit is contained in:
notaz 2011-09-02 17:44:41 +03:00
parent c3c98c2f7c
commit d5e0983c10
8 changed files with 5 additions and 9 deletions

View File

@ -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

View File

@ -20,7 +20,7 @@ endif
# Platform specific definitions
VPATH += ..
VPATH += .. ../arm
CFLAGS += -DARM_ARCH -DGP2X_BUILD
ifeq ($(WIZ),1)
CFLAGS += -DWIZ_BUILD

View File

@ -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)