From 231d36f0622a1a1c9fb0d60af666250658cc947d Mon Sep 17 00:00:00 2001 From: Pablo Curiel Date: Wed, 3 May 2017 23:56:20 -0400 Subject: [PATCH] Update to v1.5.4 * Fixed building with latest devkitPPC + libogc. * Fixed warnings. --- libruntimeiospatch/CHANGES | 4 ++++ libruntimeiospatch/Makefile | 2 +- libruntimeiospatch/source/runtimeiospatch.c | 2 +- libruntimeiospatch/source/runtimeiospatch.h | 8 +------- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/libruntimeiospatch/CHANGES b/libruntimeiospatch/CHANGES index 40fa40e..bf0a5e1 100644 --- a/libruntimeiospatch/CHANGES +++ b/libruntimeiospatch/CHANGES @@ -1,3 +1,7 @@ +1.5.4: +* fixed building with latest devkitPPC + libogc +* fixed warnings + 1.5.3: * changed layout of debug text to ensure it's always visible * added colors to debug text diff --git a/libruntimeiospatch/Makefile b/libruntimeiospatch/Makefile index 6f4c6be..5da6b84 100644 --- a/libruntimeiospatch/Makefile +++ b/libruntimeiospatch/Makefile @@ -25,7 +25,7 @@ INCLUDES := $(DEVKITPRO)/libogc # options for code generation #--------------------------------------------------------------------------------- -CFLAGS = -save-temps -g -O2 -Wall $(MACHDEP) $(INCLUDE) +CFLAGS = -save-temps -g -O2 -Wall -Wno-unused-variable $(MACHDEP) $(INCLUDE) CXXFLAGS = $(CFLAGS) ASFLAGS = $(INCLUDE) -D_LANGUAGE_ASSEMBLY diff --git a/libruntimeiospatch/source/runtimeiospatch.c b/libruntimeiospatch/source/runtimeiospatch.c index 0723ff7..f7cebb8 100644 --- a/libruntimeiospatch/source/runtimeiospatch.c +++ b/libruntimeiospatch/source/runtimeiospatch.c @@ -24,7 +24,7 @@ #define MEM_REG_BASE 0xd8b4000 #define MEM_PROT (MEM_REG_BASE + 0x20a) -void TextColor(u32 color, u8 bold) +void TextColor(u8 color, u8 bold) { /* Set foreground color */ printf("\x1b[%u;%um", color + 30, bold); diff --git a/libruntimeiospatch/source/runtimeiospatch.h b/libruntimeiospatch/source/runtimeiospatch.h index 0f1db38..4bcdfbc 100644 --- a/libruntimeiospatch/source/runtimeiospatch.h +++ b/libruntimeiospatch/source/runtimeiospatch.h @@ -20,7 +20,7 @@ /** * Version information for Libruntimeiospatch. */ -#define LIB_RUNTIMEIOSPATCH_VERSION "1.5.3" +#define LIB_RUNTIMEIOSPATCH_VERSION "1.5.4" //============================================================================== // HW_RVL header @@ -46,12 +46,6 @@ extern "C" { #endif /* __cplusplus */ -//============================================================================== -// Extra standard declarations -//============================================================================== -typedef signed int s32; -//============================================================================== - //============================================================================== // Patchsets: //==============================================================================