Merge branch 'gh-89582c1a/4/DarkMatterCore/master' into 'master'

Fix building with latest devkitPPC + libogc

See merge request Nanolx/homebrewfilter!4
This commit is contained in:
Christopher Roy Bratusek 2022-11-05 10:09:54 +00:00
commit 2c5425d764
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:
//==============================================================================