From 4bb01ae7f5da689cf59ad99b53859f062969e71e Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 2 Aug 2013 11:05:30 +0200 Subject: [PATCH] (Android JNI) Set endianness --- libretro/jni/Android.mk | 2 +- port.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libretro/jni/Android.mk b/libretro/jni/Android.mk index a7a1a437..7ec6d3db 100644 --- a/libretro/jni/Android.mk +++ b/libretro/jni/Android.mk @@ -17,7 +17,7 @@ endif LOCAL_MODULE := libretro LOCAL_SRC_FILES = ../../apu/apu.cpp ../../apu/bapu/dsp/sdsp.cpp ../../apu/bapu/dsp/SPC_DSP.cpp ../../apu/bapu/smp/smp.cpp ../../apu/bapu/smp/smp_state.cpp ../../bsx.cpp ../../c4.cpp ../../c4emu.cpp ../../cheats.cpp ../../cheats2.cpp ../../clip.cpp ../../conffile.cpp ../../controls.cpp ../../cpu.cpp ../../cpuexec.cpp ../../cpuops.cpp ../../crosshairs.cpp ../../dma.cpp ../../dsp.cpp ../../dsp1.cpp ../../dsp2.cpp ../../dsp3.cpp ../../dsp4.cpp ../../fxinst.cpp ../../fxemu.cpp ../../gfx.cpp ../../globals.cpp ../../logger.cpp ../../memmap.cpp ../../movie.cpp ../../obc1.cpp ../../ppu.cpp ../../stream.cpp ../../sa1.cpp ../../sa1cpu.cpp ../../screenshot.cpp ../../sdd1.cpp ../../sdd1emu.cpp ../../seta.cpp ../../seta010.cpp ../../seta011.cpp ../../seta018.cpp ../../snapshot.cpp ../../snes9x.cpp ../../spc7110.cpp ../../srtc.cpp ../../tile.cpp ../libretro.cpp -LOCAL_CXXFLAGS = -DANDROID +LOCAL_CXXFLAGS = -DANDROID -DARM -D__LIBRETRO__ -DHAVE_STRINGS_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR LOCAL_C_INCLUDES = ../../ ../../apu/bapu/ include $(BUILD_SHARED_LIBRARY) diff --git a/port.h b/port.h index cd45ecd2..b9653552 100644 --- a/port.h +++ b/port.h @@ -334,7 +334,7 @@ void SetInfoDlgColor(unsigned char, unsigned char, unsigned char); #define TITLE "Snes9x" #endif -#if defined(__i386__) || defined(__i486__) || defined(__i586__) || defined(__i686__) || defined(__x86_64__) || defined(__alpha__) || defined(__MIPSEL__) || defined(_M_IX86) || defined(_M_X64) || defined(_XBOX1) || defined(ARM) +#if defined(__i386__) || defined(__i486__) || defined(__i586__) || defined(__i686__) || defined(__x86_64__) || defined(__alpha__) || defined(__MIPSEL__) || defined(_M_IX86) || defined(_M_X64) || defined(_XBOX1) || defined(ARM) || defined(ANDROID) #define LSB_FIRST #define FAST_LSB_WORD_ACCESS #else