Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix building with latest devkitPPC + libogc #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions libruntimeiospatch/CHANGES
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion libruntimeiospatch/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion libruntimeiospatch/source/runtimeiospatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
8 changes: 1 addition & 7 deletions libruntimeiospatch/source/runtimeiospatch.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -46,12 +46,6 @@ extern "C" {
#endif
/* __cplusplus */

//==============================================================================
// Extra standard declarations
//==============================================================================
typedef signed int s32;
//==============================================================================

//==============================================================================
// Patchsets:
//==============================================================================
Expand Down