Update to v1.5.4

* Fixed building with latest devkitPPC + libogc.
* Fixed warnings.
This commit is contained in:
Pablo Curiel 2017-05-03 23:56:20 -04:00
parent d8441902eb
commit 231d36f062
4 changed files with 7 additions and 9 deletions

View File

@ -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

View File

@ -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

View File

@ -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);

View File

@ -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:
//==============================================================================