Skip to content

Commit

Permalink
Merge pull request #189 from rofl0r/fw600
Browse files Browse the repository at this point in the history
build.mak: default to firmware 6.0
  • Loading branch information
diamant3 authored Mar 13, 2024
2 parents 6364840 + fd52aec commit 5ccc22c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ AC_SUBST(PSPSDK_INCLUDEDIR)
AC_SUBST(PSPSDK_LIBDIR)

# CFLAGS and CXXFLAGS used to build pspsdk libraries.
PSPSDK_CFLAGS="$CFLAGS -mno-gpopt -Wall"
PSPSDK_CFLAGS="$CFLAGS -mno-gpopt -Wall -D_PSP_FW_VERSION=600"
PSPSDK_CXXFLAGS="$PSPSDK_CFLAGS -fno-exceptions -fno-rtti"
if test "$with_pthread" = no ; then
PSPSDK_CFLAGS="$PSPSDK_CFLAGS -DPSP_WITHOUT_PTHREAD"
Expand Down
2 changes: 1 addition & 1 deletion src/base/build.mak
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/base/build_prx.mak
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions src/base/pspdev.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ link_directories( ${PSPDEV}/lib ${PSPDEV}/psp/lib ${PSPDEV}/psp/sdk/lib)

add_definitions("-D__PSP__")
add_definitions("-DPSP")
add_definitions("-D_PSP_FW_VERSION=600")
SET(PLATFORM_PSP TRUE)
SET(PSP TRUE)

Expand Down

0 comments on commit 5ccc22c

Please sign in to comment.