mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31: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)
|
target_link_libraries(isle PRIVATE imgui)
|
||||||
if(PSP)
|
if(PSP)
|
||||||
target_compile_definitions(imgui PRIVATE IMGUI_DISABLE_DEFAULT_SHELL_FUNCTIONS)
|
target_compile_definitions(imgui PRIVATE IMGUI_DISABLE_DEFAULT_SHELL_FUNCTIONS)
|
||||||
|
target_link_libraries(isle PRIVATE pspfpu)
|
||||||
endif()
|
endif()
|
||||||
find_path(valgrind_INCLUDE_PATH NAMES valgrind/callgrind.h)
|
find_path(valgrind_INCLUDE_PATH NAMES valgrind/callgrind.h)
|
||||||
if(valgrind_INCLUDE_PATH)
|
if(valgrind_INCLUDE_PATH)
|
||||||
@ -742,6 +743,7 @@ if(MSVC)
|
|||||||
set(CPACK_GENERATOR ZIP)
|
set(CPACK_GENERATOR ZIP)
|
||||||
elseif(PSP)
|
elseif(PSP)
|
||||||
# Create an EBOOT.PBP file
|
# Create an EBOOT.PBP file
|
||||||
|
set(BUILD_PRX 1)
|
||||||
create_pbp_file(
|
create_pbp_file(
|
||||||
TARGET ${PROJECT_NAME}
|
TARGET ${PROJECT_NAME}
|
||||||
ICON_PATH "${CMAKE_SOURCE_DIR}/XMB/Game/ICON0.png"
|
ICON_PATH "${CMAKE_SOURCE_DIR}/XMB/Game/ICON0.png"
|
||||||
|
|||||||
@ -58,6 +58,10 @@
|
|||||||
#include "3ds/config.h"
|
#include "3ds/config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef PSP
|
||||||
|
#include <pspfpu.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
DECOMP_SIZE_ASSERT(IsleApp, 0x8c)
|
DECOMP_SIZE_ASSERT(IsleApp, 0x8c)
|
||||||
|
|
||||||
// GLOBAL: ISLE 0x410030
|
// GLOBAL: ISLE 0x410030
|
||||||
@ -127,6 +131,10 @@ IsleApp::IsleApp()
|
|||||||
m_frameDelta = 10;
|
m_frameDelta = 10;
|
||||||
m_windowActive = TRUE;
|
m_windowActive = TRUE;
|
||||||
|
|
||||||
|
#ifdef PSP
|
||||||
|
pspFpuSetEnable(0);
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef COMPAT_MODE
|
#ifdef COMPAT_MODE
|
||||||
{
|
{
|
||||||
MxRect32 r(0, 0, 639, 479);
|
MxRect32 r(0, 0, 639, 479);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user