build.mak: default to firmware 6.0

as discussed in #89, few structs have different layout depending on the
_PSP_FW_VERSION macro.

this makes a noticable (i.e. resulting in potential memory corruption)
difference only in few structs that are supposed to be used only by
kernel experts, but it makes it clear to non-experts that the struct
layouts they program for are the latest ones.

an expert trying to target an older firmware version, can still override
the macro on the commandline.

closes #89
This commit is contained in:
rofl0r
2024-03-12 12:15:06 +00:00
parent 636484057b
commit b9cbe7f1c3
2 changed files with 2 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ CXXFLAGS := $(CFLAGS) $(CXXFLAGS)
ASFLAGS := $(CFLAGS) $(ASFLAGS)
ifeq ($(PSP_FW_VERSION),)
PSP_FW_VERSION=150
PSP_FW_VERSION=600
endif
EXPAND_MEMORY = 0

View File

@@ -37,7 +37,7 @@ LIBS := $(LIBS) -lpspdebug -lpspdisplay -lpspge -lpspctrl
endif
ifeq ($(PSP_FW_VERSION),)
PSP_FW_VERSION=150
PSP_FW_VERSION=600
endif
CFLAGS += -D_PSP_FW_VERSION=$(PSP_FW_VERSION)