diff --git a/src/core/config.c b/src/core/config.c index c83def2cf..17de20d46 100644 --- a/src/core/config.c +++ b/src/core/config.c @@ -207,7 +207,7 @@ void mCoreConfigDirectory(char* out, size_t outLength) { WideCharToMultiByte(CP_UTF8, 0, wpath, -1, out, outLength, 0, 0); #elif defined(PSP2) UNUSED(portable); - snprintf(out, outLength, "ux0:/%s", projectName); + snprintf(out, outLength, "ux0:data/%s", projectName); sceIoMkdir(out, 0777); #elif defined(GEKKO) UNUSED(portable); diff --git a/src/platform/psp2/CMakeLists.txt b/src/platform/psp2/CMakeLists.txt index 5ea4e23de..a6fb17017 100644 --- a/src/platform/psp2/CMakeLists.txt +++ b/src/platform/psp2/CMakeLists.txt @@ -49,7 +49,7 @@ add_custom_target(param.sfo DEPENDS sce_sys) add_custom_target(eboot.bin - ${MAKE_FSELF} ${BINARY_NAME}.velf eboot.bin + ${MAKE_FSELF} -s ${BINARY_NAME}.velf eboot.bin DEPENDS ${BINARY_NAME}.velf) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/template.xml.in ${CMAKE_CURRENT_BINARY_DIR}/template.xml) @@ -64,7 +64,7 @@ add_custom_target(livearea DEPENDS sce_sys) add_custom_target(${BINARY_NAME}.vpk ALL - zip -r ${BINARY_NAME}.vpk sce_sys eboot.bin + zip -qr ${BINARY_NAME}.vpk sce_sys eboot.bin DEPENDS livearea eboot.bin param.sfo) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${BINARY_NAME}.vpk DESTINATION . COMPONENT ${BINARY_NAME}-psp2) diff --git a/src/platform/psp2/main.c b/src/platform/psp2/main.c index e59401ebf..63ec5cc67 100644 --- a/src/platform/psp2/main.c +++ b/src/platform/psp2/main.c @@ -88,7 +88,7 @@ int main() { struct mGUIRunner runner = { .params = { PSP2_HORIZONTAL_PIXELS, PSP2_VERTICAL_PIXELS, - font, "ux0:", _drawStart, _drawEnd, + font, "ux0:data", _drawStart, _drawEnd, _pollInput, _pollCursor, _batteryState, 0, 0,