mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-14 19:41:15 +00:00
Boots on real hardware (#8)
This commit is contained in:
parent
04b1e1d31c
commit
1661e59270
@ -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"
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user