Add framework for in-game patches

This commit is contained in:
Ash Logan 2022-09-26 21:56:56 +10:00
commit e86bb6cf15
13 changed files with 268 additions and 74 deletions

View file

@ -21,7 +21,7 @@ WUMS_ROOT := $(DEVKITPRO)/wums
#-------------------------------------------------------------------------------
TARGET := Inkay-pretendo
BUILD := build
SOURCES := src src/utils
SOURCES := src src/utils src/patcher src/patcher/patches
DATA := data
INCLUDES := src
@ -33,7 +33,7 @@ CFLAGS := -g -Wall -O2 -ffunction-sections \
CFLAGS += $(INCLUDE) -D__WIIU__ -D__WUT__ -D__WUPS__
CXXFLAGS := $(CFLAGS)
CXXFLAGS := $(CFLAGS) -std=c++20
ASFLAGS := -g $(ARCH)
LDFLAGS = -g $(ARCH) $(RPXSPECS) -Wl,-Map,$(notdir $*.map)