diff --git a/Makefile.ctr b/Makefile.ctr index 2395f456c5..3e12022026 100644 --- a/Makefile.ctr +++ b/Makefile.ctr @@ -66,7 +66,7 @@ else OBJS += input/input_config.o OBJS += input/input_keymaps.o OBJS += input/input_remapping.o - OBJS += input/input_keyboard.o + OBJS += input/input_keyboard.o OBJS += input/drivers/ctr_input.o OBJS += input/drivers_joypad/ctr_joypad.o OBJS += input/autoconf/builtin_ctr.o @@ -161,7 +161,7 @@ else OBJS += movie.o OBJS += record/record_driver.o OBJS += record/drivers/record_null.o - OBJS += tasks/task_decompress.o + OBJS += tasks/task_decompress.o OBJS += tasks/task_file_transfer.o OBJS += screenshot.o OBJS += playlist.o @@ -251,7 +251,7 @@ INCDIRS := -I$(CTRULIB)/include LIBDIRS := -L. -L$(CTRULIB)/lib -ARCH := -march=armv6k -mtune=mpcore -mfloat-abi=hard -marm -mfpu=vfp +ARCH := -march=armv6k -mtune=mpcore -mfloat-abi=hard -marm -mfpu=vfp -mtp=soft CFLAGS += -mword-relocations \ -fomit-frame-pointer -ffast-math \ diff --git a/ctr/ctr_debug.h b/ctr/ctr_debug.h index a31e3eb9ed..c8e79de9c7 100644 --- a/ctr/ctr_debug.h +++ b/ctr/ctr_debug.h @@ -16,6 +16,7 @@ void dump_result_value(Result val); #define DEBUG_LINE() do{printf("%s:%d.\n",__FUNCTION__, __LINE__);fflush(stdout);}while(0) #define DEBUG_STR(X) printf( "%s: %s\n", #X, (char*)(X)) #define DEBUG_VAR(X) printf( "%-20s: 0x%08X\n", #X, (u32)(X)) +#define DEBUG_INT(X) printf( "%-20s: %10i\n", #X, (s32)(X)) #define DEBUG_VAR64(X) printf( #X"\r\t\t\t\t : 0x%016llX\n", (u64)(X)) #define DEBUG_ERROR(X) do{if(X)dump_result_value(X)}while(0) #define PRINTFPOS(X,Y) "\x1b["#X";"#Y"H"