move platform-independent stuff out of /gp2x.
This commit is contained in:
parent
c3c98c2f7c
commit
d5e0983c10
|
@ -190,13 +190,9 @@ extern u8 bit_count[256];
|
||||||
|
|
||||||
#include "psp/mips_emit.h"
|
#include "psp/mips_emit.h"
|
||||||
|
|
||||||
#elif defined(GP2X_BUILD)
|
#elif defined(ARM_ARCH)
|
||||||
|
|
||||||
#include "gp2x/arm_emit.h"
|
#include "arm/arm_emit.h"
|
||||||
|
|
||||||
#elif defined(GIZ_BUILD)
|
|
||||||
|
|
||||||
#include "giz/arm_emit.h"
|
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ endif
|
||||||
|
|
||||||
# Platform specific definitions
|
# Platform specific definitions
|
||||||
|
|
||||||
VPATH += ..
|
VPATH += .. ../arm
|
||||||
CFLAGS += -DARM_ARCH -DGP2X_BUILD
|
CFLAGS += -DARM_ARCH -DGP2X_BUILD
|
||||||
ifeq ($(WIZ),1)
|
ifeq ($(WIZ),1)
|
||||||
CFLAGS += -DWIZ_BUILD
|
CFLAGS += -DWIZ_BUILD
|
||||||
|
|
4
video.c
4
video.c
|
@ -2403,7 +2403,7 @@ fill_line_builder(color32);
|
||||||
|
|
||||||
#ifdef RENDER_COLOR16_NORMAL
|
#ifdef RENDER_COLOR16_NORMAL
|
||||||
|
|
||||||
#ifndef GP2X_BUILD
|
#ifndef ARM_ARCH
|
||||||
|
|
||||||
void expand_normal(u16 *screen_ptr, u32 start, u32 end)
|
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
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifndef GP2X_BUILD
|
#ifndef ARM_ARCH
|
||||||
|
|
||||||
void expand_blend(u32 *screen_src_ptr, u16 *screen_dest_ptr,
|
void expand_blend(u32 *screen_src_ptr, u16 *screen_dest_ptr,
|
||||||
u32 start, u32 end)
|
u32 start, u32 end)
|
||||||
|
|
Loading…
Reference in New Issue