loading libSceFios2.prx as lle as well
This commit is contained in:
parent
e272b152ed
commit
a1468c9d79
|
@ -1883,7 +1883,7 @@ int PS4_SYSV_ABI sceSystemServiceNavigateToGoHome() {
|
|||
|
||||
s32 PS4_SYSV_ABI sceSystemServiceParamGetInt(int param_id, int* value) {
|
||||
// TODO this probably should be stored in config for UI configuration
|
||||
LOG_INFO(Lib_SystemService, "called");
|
||||
LOG_INFO(Lib_SystemService, "called param_id {}", param_id);
|
||||
if (value == nullptr) {
|
||||
LOG_ERROR(Lib_SystemService, "value is null");
|
||||
return ORBIS_SYSTEM_SERVICE_ERROR_PARAMETER;
|
||||
|
|
|
@ -1031,7 +1031,7 @@ int PS4_SYSV_ABI sceUserServiceGetTraditionalChineseInputType() {
|
|||
|
||||
s32 PS4_SYSV_ABI sceUserServiceGetUserColor(int user_id, int* color) {
|
||||
// TODO fix me better
|
||||
LOG_INFO(Lib_UserService, "called");
|
||||
LOG_INFO(Lib_UserService, "called user_id = {}",user_id);
|
||||
if (color == nullptr) {
|
||||
LOG_ERROR(Lib_UserService, "color is null");
|
||||
return ORBIS_USER_SERVICE_ERROR_INVALID_ARGUMENT;
|
||||
|
@ -1056,6 +1056,7 @@ int PS4_SYSV_ABI sceUserServiceGetUserGroupNum() {
|
|||
}
|
||||
|
||||
s32 PS4_SYSV_ABI sceUserServiceGetUserName(int user_id, char* user_name, std::size_t size) {
|
||||
LOG_INFO(Lib_UserService, "called user_id = {} ,size = {} ", user_id, size);
|
||||
if (user_name == nullptr) {
|
||||
LOG_ERROR(Lib_UserService, "user_name is null");
|
||||
return ORBIS_USER_SERVICE_ERROR_INVALID_ARGUMENT;
|
||||
|
@ -1110,7 +1111,7 @@ int PS4_SYSV_ABI sceUserServiceGetVolumeForSidetone() {
|
|||
}
|
||||
|
||||
s32 PS4_SYSV_ABI sceUserServiceInitialize(const OrbisUserServiceInitializeParams* initParams) {
|
||||
LOG_ERROR(Lib_UserService, "(STUBBED) called");
|
||||
LOG_WARNING(Lib_UserService, "(dummy) called");
|
||||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
|
|
|
@ -57,7 +57,8 @@ int main(int argc, char* argv[]) {
|
|||
std::filesystem::path sce_module_folder = p.parent_path() / "sce_module";
|
||||
if (std::filesystem::is_directory(sce_module_folder)) {
|
||||
for (const auto& entry : std::filesystem::directory_iterator(sce_module_folder)) {
|
||||
if (entry.path().filename() == "libc.prx") {
|
||||
if (entry.path().filename() == "libc.prx" ||
|
||||
entry.path().filename() == "libSceFios2.prx") {
|
||||
found = true;
|
||||
LOG_INFO(Loader, "Loading {}", entry.path().string().c_str());
|
||||
linker->LoadModule(entry.path().string().c_str());
|
||||
|
|
Loading…
Reference in New Issue