Boots on real hardware (#8)

This commit is contained in:
Paul Sajna 2025-07-06 01:02:15 +00:00 committed by GitHub
parent 04b1e1d31c
commit 1661e59270
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 0 deletions

View File

@ -519,6 +519,7 @@ if (ISLE_BUILD_APP)
target_link_libraries(isle PRIVATE imgui)
if(PSP)
target_compile_definitions(imgui PRIVATE IMGUI_DISABLE_DEFAULT_SHELL_FUNCTIONS)
target_link_libraries(isle PRIVATE pspfpu)
endif()
find_path(valgrind_INCLUDE_PATH NAMES valgrind/callgrind.h)
if(valgrind_INCLUDE_PATH)
@ -742,6 +743,7 @@ if(MSVC)
set(CPACK_GENERATOR ZIP)
elseif(PSP)
# Create an EBOOT.PBP file
set(BUILD_PRX 1)
create_pbp_file(
TARGET ${PROJECT_NAME}
ICON_PATH "${CMAKE_SOURCE_DIR}/XMB/Game/ICON0.png"

View File

@ -58,6 +58,10 @@
#include "3ds/config.h"
#endif
#ifdef PSP
#include <pspfpu.h>
#endif
DECOMP_SIZE_ASSERT(IsleApp, 0x8c)
// GLOBAL: ISLE 0x410030
@ -127,6 +131,10 @@ IsleApp::IsleApp()
m_frameDelta = 10;
m_windowActive = TRUE;
#ifdef PSP
pspFpuSetEnable(0);
#endif
#ifdef COMPAT_MODE
{
MxRect32 r(0, 0, 639, 479);