mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-30 12:25:49 +00:00
PS4 titles import save data from libSceSaveData and libSceSaveDataDialog, and a converted title loads exactly the modules its DT_NEEDED names. Those two libraries were separate, older implementations that export only 9 and 8 functions, while libSceSaveData.native and libSceSaveDataDialog.native carry sceSaveDataDelete, sceSaveDataDirNameSearch, sceSaveDataSetParam, sceSaveDataSaveIcon, sceSaveDataDialogUpdateStatus and the rest. A PS4 title importing any of those failed at startup with unresolved imports. Both plain libraries are now built from the native sources, the way libSceNgs2 is built from libSceNgs2.native, and the old implementation and its test variant are removed. The earlier implementation's save-data memory and mount alias files are not read; that is recorded in the debt file. Co-Authored-By: Claude Opus 5.5 <[email protected]>
6 lines
263 B
CMake
6 lines
263 B
CMake
function(add_sce_savedata_library target)
|
|
add_library(${target} SHARED EXCLUDE_FROM_ALL ${CMAKE_CURRENT_FUNCTION_LIST_DIR}/Export.cpp)
|
|
target_include_directories(${target} PRIVATE ${LIBS_INCLUDE_DIR})
|
|
configure_windows_unwind(${target})
|
|
endfunction()
|