mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-12-24 04:32:36 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user