$(error "CTRULIB env var is not set")
endif
TARGET := $(TARGET_NAME)_libretro_ctr.a
- CFLAGS += -DARM11 -D_3DS -DNO_DYLIB -DGPU_UNAI_USE_FLOATMATH -DGPU_UNAI_USE_FLOAT_DIV_MULTINV
+ CFLAGS += -DARM11 -D_3DS -D__3DS__
+ CFLAGS += -DNO_DYLIB -DGPU_UNAI_USE_FLOATMATH -DGPU_UNAI_USE_FLOAT_DIV_MULTINV
CFLAGS += -march=armv6k -mtune=mpcore -mfloat-abi=hard -marm -mfpu=vfp -mtp=soft
CFLAGS += -Wall -mword-relocations
CFLAGS += -fomit-frame-pointer
#ifdef DRC_DISABLE
Rcnt rcnts[ CounterQuantity ];
#endif
-u32 hSyncCount = 0;
-u32 frame_counter = 0;
+unsigned int hSyncCount = 0;
+unsigned int frame_counter = 0;
static u32 hsync_steps = 0;
u32 psxNextCounter = 0, psxNextsCounter = 0;
extern u32 psxNextCounter, psxNextsCounter;
-extern u32 hSyncCount, frame_counter;
+extern unsigned int hSyncCount, frame_counter;
typedef struct Rcnt
{