some rework on system_service, user_service

This commit is contained in:
georgemoralis 2024-03-12 19:46:50 +02:00
parent 8c4f386641
commit 6aea5bb989
24 changed files with 8066 additions and 178 deletions

View file

@ -93,11 +93,20 @@ add_subdirectory(externals)
add_subdirectory(third-party)
include_directories(src)
set(LIBRARIES src/core/libraries/library_common.h
set(LIBRARIES src/core/libraries/library_common.h
src/core/libraries/error_codes.h
src/core/libraries/libscecommondialog.cpp
src/core/libraries/libscecommondialog.h
src/core/libraries/libscegnmdriver.cpp
src/core/libraries/libscegnmdriver.h
src/core/libraries/libscemsgdialog.cpp
src/core/libraries/libscemsgdialog.h
src/core/libraries/libscesystemservice.cpp
src/core/libraries/libscesystemservice.h
src/core/libraries/libsceuserservice.cpp
src/core/libraries/libsceuserservice.h
)
set(LIBC_SOURCES src/core/hle/libraries/libc/libc.cpp
src/core/hle/libraries/libc/libc.h
src/core/hle/libraries/libc/printf.h
@ -113,18 +122,11 @@ set(LIBC_SOURCES src/core/hle/libraries/libc/libc.cpp
src/core/hle/libraries/libc/libc_stdlib.cpp
src/core/hle/libraries/libc/libc_stdlib.h
)
set(USERSERVICE_SOURCES src/core/hle/libraries/libuserservice/libuserservice.cpp
src/core/hle/libraries/libuserservice/libuserservice.h
)
set(PAD_SOURCES src/core/hle/libraries/libpad/pad.cpp
src/core/hle/libraries/libpad/pad.h
)
set(SYSTEMSERVICE_SOURCES src/core/hle/libraries/libsystemservice/system_service.cpp
src/core/hle/libraries/libsystemservice/system_service.h
)
set(FILESYSTEM_SOURCES src/core/hle/libraries/libkernel/file_system.cpp
src/core/hle/libraries/libkernel/file_system.h
src/core/file_sys/fs.cpp
@ -242,9 +244,7 @@ qt_add_executable(shadps4
else()
add_executable(shadps4
${LIBC_SOURCES}
${USERSERVICE_SOURCES}
${PAD_SOURCES}
${SYSTEMSERVICE_SOURCES}
${FILESYSTEM_SOURCES}
${HOST_SOURCES}
${LIBRARIES}

View file

@ -85,6 +85,8 @@ bool ParseFilterRule(Filter& instance, Iterator begin, Iterator end) {
SUB(Lib, SystemService) \
SUB(Lib, UserService) \
SUB(Lib, VideoOut) \
SUB(Lib, CommonDlg) \
SUB(Lib, MsgDlg) \
CLS(Frontend) \
CLS(Render) \
SUB(Render, Vulkan) \

View file

@ -26,7 +26,7 @@ enum class Level : u8 {
* Specifies the sub-system that generated the log message.
*
* @note If you add a new entry here, also add a corresponding one to `ALL_LOG_CLASSES` in
* backend.cpp.
* filter.cpp.
*/
enum class Class : u8 {
Log, ///< Messages about the log system itself
@ -52,6 +52,8 @@ enum class Class : u8 {
Lib_SystemService, ///< The LibSceSystemService implementation.
Lib_UserService, ///< The LibSceUserService implementation.
Lib_VideoOut, ///< The LibSceVideoOut implementation.
Lib_CommonDlg, ///< The LibSceCommonDialog implementation.
Lib_MsgDlg, ///< The LibSceMsgDialog implementation.
Frontend, ///< Emulator UI
Render, ///< Video Core
Render_Vulkan, ///< Vulkan backend

View file

@ -15,7 +15,7 @@
#include "core/hle/error_codes.h"
#include "core/hle/libraries/libs.h"
#include "core/hle/libraries/libscegnmdriver/libscegnmdriver.h"
#include "core/hle/libraries/libuserservice/usr_mng_codes.h"
#include "src/core/libraries/libsceuserservice.h"
#include "core/loader/symbols_resolver.h"
#include "emulator.h"
@ -291,7 +291,7 @@ s32 PS4_SYSV_ABI sceVideoOutGetResolutionStatus(s32 handle, SceVideoOutResolutio
s32 PS4_SYSV_ABI sceVideoOutOpen(SceUserServiceUserId userId, s32 busType, s32 index,
const void* param) {
LOG_INFO(Lib_VideoOut, "called");
if (userId != SCE_USER_SERVICE_USER_ID_SYSTEM && userId != 0) {
if (userId != Libraries::UserService::ORBIS_USER_SERVICE_USER_ID_SYSTEM && userId != 0) {
BREAKPOINT();
}
if (busType != SCE_VIDEO_OUT_BUS_TYPE_MAIN) {

View file

@ -8,14 +8,14 @@
#include "core/hle/libraries/libpad/pad.h"
#include "core/hle/libraries/libs.h"
namespace Core::Libraries::LibPad {
namespace OldLibraries::LibPad {
int PS4_SYSV_ABI scePadInit() {
LOG_WARNING(Lib_Pad, "(STUBBED) called");
return SCE_OK;
}
int PS4_SYSV_ABI scePadOpen(Core::Libraries::LibUserService::SceUserServiceUserId user_id, s32 type,
int PS4_SYSV_ABI scePadOpen(Libraries::UserService::OrbisUserServiceUserId user_id, s32 type,
s32 index, const ScePadOpenParam* pParam) {
LOG_INFO(Lib_Pad, "(STUBBED) called user_id = {} type = {} index = {}", user_id, type, index);
return 1; // dummy
@ -48,10 +48,10 @@ int PS4_SYSV_ABI scePadReadState(int32_t handle, ScePadData* pData) {
return SCE_OK;
}
void padSymbolsRegister(Loader::SymbolsResolver* sym) {
void padSymbolsRegister(Core::Loader::SymbolsResolver* sym) {
LIB_FUNCTION("hv1luiJrqQM", "libScePad", 1, "libScePad", 1, 1, scePadInit);
LIB_FUNCTION("xk0AcarP3V4", "libScePad", 1, "libScePad", 1, 1, scePadOpen);
LIB_FUNCTION("YndgXqQVV7c", "libScePad", 1, "libScePad", 1, 1, scePadReadState);
}
} // namespace Core::Libraries::LibPad
} // namespace OldLibraries::LibPad

View file

@ -4,9 +4,13 @@
#pragma once
#include "common/types.h"
#include "core/hle/libraries/libuserservice/libuserservice.h"
#include "src/core/libraries/libsceuserservice.h"
namespace Core::Libraries::LibPad {
namespace Core::Loader {
class SymbolsResolver;
}
namespace OldLibraries::LibPad {
enum ScePadButton : u32 {
L3 = 0x00000002,
@ -92,10 +96,10 @@ struct ScePadData {
};
int PS4_SYSV_ABI scePadInit();
int PS4_SYSV_ABI scePadOpen(LibUserService::SceUserServiceUserId userId, s32 type, s32 index,
const ScePadOpenParam* pParam);
int PS4_SYSV_ABI scePadOpen(Libraries::UserService::OrbisUserServiceUserId userId, s32 type,
s32 index, const ScePadOpenParam* pParam);
int PS4_SYSV_ABI scePadReadState(int32_t handle, ScePadData* pData);
void padSymbolsRegister(Loader::SymbolsResolver* sym);
void padSymbolsRegister(Core::Loader::SymbolsResolver* sym);
}; // namespace Core::Libraries::LibPad
}; // namespace OldLibraries::LibPad

View file

@ -7,19 +7,25 @@
#include "core/hle/libraries/libpad/pad.h"
#include "core/hle/libraries/libs.h"
#include "core/hle/libraries/libscegnmdriver/libscegnmdriver.h"
#include "core/hle/libraries/libsystemservice/system_service.h"
#include "core/hle/libraries/libuserservice/libuserservice.h"
#include "src/core/libraries/libscecommondialog.h"
#include "src/core/libraries/libscemsgdialog.h"
#include "src/core/libraries/libscesystemservice.h"
#include "src/core/libraries/libsceuserservice.h"
namespace Core::Libraries {
namespace OldLibraries {
void InitHLELibs(Loader::SymbolsResolver* sym) {
LibKernel::LibKernel_Register(sym);
void InitHLELibs(Core::Loader::SymbolsResolver* sym) {
Core::Libraries::LibKernel::LibKernel_Register(sym);
HLE::Libs::Graphics::VideoOut::videoOutRegisterLib(sym);
LibSceGnmDriver::LibSceGnmDriver_Register(sym);
LibUserService::userServiceSymbolsRegister(sym);
LibPad::padSymbolsRegister(sym);
LibSystemService::systemServiceSymbolsRegister(sym);
LibC::libcSymbolsRegister(sym);
Core::Libraries::LibSceGnmDriver::LibSceGnmDriver_Register(sym);
OldLibraries::LibPad::padSymbolsRegister(sym);
Core::Libraries::LibC::libcSymbolsRegister(sym);
// new libraries folder from autogen
Libraries::UserService::RegisterlibSceUserService(sym);
Libraries::SystemService::RegisterlibSceSystemService(sym);
Libraries::CommonDialog::RegisterlibSceCommonDialog(sym);
Libraries::MsgDialog::RegisterlibSceMsgDialog(sym);
}
} // namespace Core::Libraries

View file

@ -34,8 +34,8 @@
sym->AddSymbol(sr, func); \
}
namespace Core::Libraries {
namespace OldLibraries {
void InitHLELibs(Loader::SymbolsResolver* sym);
void InitHLELibs(Core::Loader::SymbolsResolver * sym);
} // namespace Core::Libraries

View file

@ -1,35 +0,0 @@
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/logging/log.h"
#include "core/hle/error_codes.h"
#include "core/hle/libraries/libs.h"
#include "core/hle/libraries/libsystemservice/system_service.h"
namespace Core::Libraries::LibSystemService {
s32 PS4_SYSV_ABI sceSystemServiceHideSplashScreen() {
LOG_WARNING(Lib_SystemService, "(STUBBED) called");
return SCE_OK;
}
s32 PS4_SYSV_ABI sceSystemServiceGetStatus(SceSystemServiceStatus* status) {
SceSystemServiceStatus st = {};
st.eventNum = 0;
st.isSystemUiOverlaid = false;
st.isInBackgroundExecution = false;
st.isCpuMode7CpuNormal = true;
st.isGameLiveStreamingOnAir = false;
st.isOutOfVrPlayArea = false;
*status = st;
return SCE_OK;
}
void systemServiceSymbolsRegister(Loader::SymbolsResolver* sym) {
LIB_FUNCTION("Vo5V8KAwCmk", "libSceSystemService", 1, "libSceSystemService", 1, 1,
sceSystemServiceHideSplashScreen);
LIB_FUNCTION("rPo6tV8D9bM", "libSceSystemService", 1, "libSceSystemService", 1, 1,
sceSystemServiceGetStatus);
}
}; // namespace Core::Libraries::LibSystemService

View file

@ -1,29 +0,0 @@
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "common/types.h"
namespace Core::Loader {
class SymbolsResolver;
}
namespace Core::Libraries::LibSystemService {
struct SceSystemServiceStatus {
s32 eventNum;
bool isSystemUiOverlaid;
bool isInBackgroundExecution;
bool isCpuMode7CpuNormal;
bool isGameLiveStreamingOnAir;
bool isOutOfVrPlayArea;
u8 reserved[];
};
s32 PS4_SYSV_ABI sceSystemServiceHideSplashScreen();
s32 PS4_SYSV_ABI sceSystemServiceGetStatus(SceSystemServiceStatus* status);
void systemServiceSymbolsRegister(Loader::SymbolsResolver* sym);
}; // namespace Core::Libraries::LibSystemService

View file

@ -1,33 +0,0 @@
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/logging/log.h"
#include "core/hle/error_codes.h"
#include "core/hle/libraries/libs.h"
#include "core/hle/libraries/libuserservice/libuserservice.h"
namespace Core::Libraries::LibUserService {
s32 PS4_SYSV_ABI sceUserServiceInitialize(const SceUserServiceInitializeParams* initParams) {
LOG_WARNING(Lib_UserService, "(STUBBED) called");
return SCE_OK;
}
s32 PS4_SYSV_ABI sceUserServiceGetLoginUserIdList(SceUserServiceLoginUserIdList* userIdList) {
LOG_WARNING(Lib_UserService, "(STUBBED) called");
userIdList->user_id[0] = 1;
userIdList->user_id[1] = -1;
userIdList->user_id[2] = -1;
userIdList->user_id[3] = -1;
return SCE_OK;
}
void userServiceSymbolsRegister(Loader::SymbolsResolver* sym) {
LIB_FUNCTION("j3YMu1MVNNo", "libSceUserService", 1, "libSceUserService", 1, 1,
sceUserServiceInitialize);
LIB_FUNCTION("fPhymKNvK-A", "libSceUserService", 1, "libSceUserService", 1, 1,
sceUserServiceGetLoginUserIdList);
}
} // namespace Core::Libraries::LibUserService

View file

@ -1,29 +0,0 @@
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "common/types.h"
namespace Core::Loader {
class SymbolsResolver;
}
namespace Core::Libraries::LibUserService {
using SceUserServiceUserId = s32;
struct SceUserServiceInitializeParams {
s32 priority;
};
struct SceUserServiceLoginUserIdList {
int user_id[4];
};
s32 PS4_SYSV_ABI sceUserServiceInitialize(const SceUserServiceInitializeParams* initParams);
s32 PS4_SYSV_ABI sceUserServiceGetLoginUserIdList(SceUserServiceLoginUserIdList* userIdList);
void userServiceSymbolsRegister(Loader::SymbolsResolver* sym);
}; // namespace Core::Libraries::LibUserService

View file

@ -1,12 +0,0 @@
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
constexpr int SCE_USER_SERVICE_MAX_LOGIN_USERS = 4; // Max users logged in at once
constexpr int SCE_USER_SERVICE_MAX_USER_NAME_LENGTH = 16; // Max length for user name
constexpr int SCE_USER_SERVICE_USER_ID_INVALID = -1; // Invalid user ID
constexpr int SCE_USER_SERVICE_USER_ID_SYSTEM = 255; // Generic id for device
constexpr int SCE_USER_SERVICE_USER_ID_EVERYONE =
254; // Generic id for user (mostly used in common dialogs)

View file

@ -2,7 +2,192 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
// TODO placeholder until port finishes
#include "core/hle/error_codes.h"
constexpr int ORBIS_OK = 0;
// Generic
#define ORBIS_OK 0x00000000
#define ORBIS_FAIL 0xFFFFFFFF
// Libkernel library
#define ORBIS_KERNEL_ERROR_EPERM 0x80020001
#define ORBIS_KERNEL_ERROR_ENOENT 0x80020002
#define ORBIS_KERNEL_ERROR_ESRCH 0x80020003
#define ORBIS_KERNEL_ERROR_EINTR 0x80020004
#define ORBIS_KERNEL_ERROR_EIO 0x80020005
#define ORBIS_KERNEL_ERROR_ENXIO 0x80020006
#define ORBIS_KERNEL_ERROR_E2BIG 0x80020007
#define ORBIS_KERNEL_ERROR_ENOEXEC 0x80020008
#define ORBIS_KERNEL_ERROR_EBADF 0x80020009
#define ORBIS_KERNEL_ERROR_ECHILD 0x8002000A
#define ORBIS_KERNEL_ERROR_EDEADLK 0x8002000B
#define ORBIS_KERNEL_ERROR_ENOMEM 0x8002000C
#define ORBIS_KERNEL_ERROR_EACCES 0x8002000D
#define ORBIS_KERNEL_ERROR_EFAULT 0x8002000E
#define ORBIS_KERNEL_ERROR_ENOTBLK 0x8002000F
#define ORBIS_KERNEL_ERROR_EBUSY 0x80020010
#define ORBIS_KERNEL_ERROR_EEXIST 0x80020011
#define ORBIS_KERNEL_ERROR_EXDEV 0x80020012
#define ORBIS_KERNEL_ERROR_ENODEV 0x80020013
#define ORBIS_KERNEL_ERROR_ENOTDIR 0x80020014
#define ORBIS_KERNEL_ERROR_EISDIR 0x80020015
#define ORBIS_KERNEL_ERROR_EINVAL 0x80020016
#define ORBIS_KERNEL_ERROR_ENFILE 0x80020017
#define ORBIS_KERNEL_ERROR_EMFILE 0x80020018
#define ORBIS_KERNEL_ERROR_ENOTTY 0x80020019
#define ORBIS_KERNEL_ERROR_ETXTBSY 0x8002001A
#define ORBIS_KERNEL_ERROR_EFBIG 0x8002001B
#define ORBIS_KERNEL_ERROR_ENOSPC 0x8002001C
#define ORBIS_KERNEL_ERROR_ESPIPE 0x8002001D
#define ORBIS_KERNEL_ERROR_EROFS 0x8002001E
#define ORBIS_KERNEL_ERROR_EMLINK 0x8002001F
#define ORBIS_KERNEL_ERROR_EPIPE 0x80020020
#define ORBIS_KERNEL_ERROR_EDOM 0x80020021
#define ORBIS_KERNEL_ERROR_ERANGE 0x80020022
#define ORBIS_KERNEL_ERROR_EAGAIN 0x80020023
#define ORBIS_KERNEL_ERROR_EWOULDBLOCK 0x80020023
#define ORBIS_KERNEL_ERROR_EINPROGRESS 0x80020024
#define ORBIS_KERNEL_ERROR_EALREADY 0x80020025
#define ORBIS_KERNEL_ERROR_ENOTSOCK 0x80020026
#define ORBIS_KERNEL_ERROR_EDESTADDRREQ 0x80020027
#define ORBIS_KERNEL_ERROR_EMSGSIZE 0x80020028
#define ORBIS_KERNEL_ERROR_EPROTOTYPE 0x80020029
#define ORBIS_KERNEL_ERROR_ENOPROTOOPT 0x8002002A
#define ORBIS_KERNEL_ERROR_EPROTONOSUPPORT 0x8002002B
#define ORBIS_KERNEL_ERROR_ESOCKTNOSUPPORT 0x8002002C
#define ORBIS_KERNEL_ERROR_ENOTSUP 0x8002002D
#define ORBIS_KERNEL_ERROR_EOPNOTSUPP 0x8002002D
#define ORBIS_KERNEL_ERROR_EPFNOSUPPORT 0x8002002E
#define ORBIS_KERNEL_ERROR_EAFNOSUPPORT 0x8002002F
#define ORBIS_KERNEL_ERROR_EADDRINUSE 0x80020030
#define ORBIS_KERNEL_ERROR_EADDRNOTAVAIL 0x80020031
#define ORBIS_KERNEL_ERROR_ENETDOWN 0x80020032
#define ORBIS_KERNEL_ERROR_ENETUNREACH 0x80020033
#define ORBIS_KERNEL_ERROR_ENETRESET 0x80020034
#define ORBIS_KERNEL_ERROR_ECONNABORTED 0x80020035
#define ORBIS_KERNEL_ERROR_ECONNRESET 0x80020036
#define ORBIS_KERNEL_ERROR_ENOBUFS 0x80020037
#define ORBIS_KERNEL_ERROR_EISCONN 0x80020038
#define ORBIS_KERNEL_ERROR_ENOTCONN 0x80020039
#define ORBIS_KERNEL_ERROR_ESHUTDOWN 0x8002003A
#define ORBIS_KERNEL_ERROR_ETOOMANYREFS 0x8002003B
#define ORBIS_KERNEL_ERROR_ETIMEDOUT 0x8002003C
#define ORBIS_KERNEL_ERROR_ECONNREFUSED 0x8002003D
#define ORBIS_KERNEL_ERROR_ELOOP 0x8002003E
#define ORBIS_KERNEL_ERROR_ENAMETOOLONG 0x8002003F
#define ORBIS_KERNEL_ERROR_EHOSTDOWN 0x80020040
#define ORBIS_KERNEL_ERROR_EHOSTUNREACH 0x80020041
#define ORBIS_KERNEL_ERROR_ENOTEMPTY 0x80020042
#define ORBIS_KERNEL_ERROR_EPROCLIM 0x80020043
#define ORBIS_KERNEL_ERROR_EUSERS 0x80020044
#define ORBIS_KERNEL_ERROR_EDQUOT 0x80020045
#define ORBIS_KERNEL_ERROR_ESTALE 0x80020046
#define ORBIS_KERNEL_ERROR_EREMOTE 0x80020047
#define ORBIS_KERNEL_ERROR_EBADRPC 0x80020048
#define ORBIS_KERNEL_ERROR_ERPCMISMATCH 0x80020049
#define ORBIS_KERNEL_ERROR_EPROGUNAVAIL 0x8002004A
#define ORBIS_KERNEL_ERROR_EPROGMISMATCH 0x8002004B
#define ORBIS_KERNEL_ERROR_EPROCUNAVAIL 0x8002004C
#define ORBIS_KERNEL_ERROR_ENOLCK 0x8002004D
#define ORBIS_KERNEL_ERROR_ENOSYS 0x8002004E
#define ORBIS_KERNEL_ERROR_EFTYPE 0x8002004F
#define ORBIS_KERNEL_ERROR_EAUTH 0x80020050
#define ORBIS_KERNEL_ERROR_ENEEDAUTH 0x80020051
#define ORBIS_KERNEL_ERROR_EIDRM 0x80020052
#define ORBIS_KERNEL_ERROR_ENOMSG 0x80020053
#define ORBIS_KERNEL_ERROR_EOVERFLOW 0x80020054
#define ORBIS_KERNEL_ERROR_ECANCELED 0x80020055
#define ORBIS_KERNEL_ERROR_EILSEQ 0x80020056
#define ORBIS_KERNEL_ERROR_ENOATTR 0x80020057
#define ORBIS_KERNEL_ERROR_EDOOFUS 0x80020058
#define ORBIS_KERNEL_ERROR_EBADMSG 0x80020059
#define ORBIS_KERNEL_ERROR_EMULTIHOP 0x8002005A
#define ORBIS_KERNEL_ERROR_ENOLINK 0x8002005B
#define ORBIS_KERNEL_ERROR_EPROTO 0x8002005C
#define ORBIS_KERNEL_ERROR_ENOTCAPABLE 0x8002005D
#define ORBIS_KERNEL_ERROR_ECAPMODE 0x8002005E
#define ORBIS_KERNEL_ERROR_ENOBLK 0x8002005F
#define ORBIS_KERNEL_ERROR_EICV 0x80020060
#define ORBIS_KERNEL_ERROR_ENOPLAYGOENT 0x80020061
// AudioOut library
#define ORBIS_AUDIO_OUT_ERROR_NOT_OPENED 0x80260001
#define ORBIS_AUDIO_OUT_ERROR_BUSY 0x80260002
#define ORBIS_AUDIO_OUT_ERROR_INVALID_PORT 0x80260003
#define ORBIS_AUDIO_OUT_ERROR_INVALID_POINTER 0x80260004
#define ORBIS_AUDIO_OUT_ERROR_PORT_FULL 0x80260005
#define ORBIS_AUDIO_OUT_ERROR_INVALID_SIZE 0x80260006
#define ORBIS_AUDIO_OUT_ERROR_INVALID_FORMAT 0x80260007
#define ORBIS_AUDIO_OUT_ERROR_INVALID_SAMPLE_FREQ 0x80260008
#define ORBIS_AUDIO_OUT_ERROR_INVALID_VOLUME 0x80260009
#define ORBIS_AUDIO_OUT_ERROR_INVALID_PORT_TYPE 0x8026000A
#define ORBIS_AUDIO_OUT_ERROR_INVALID_CONF_TYPE 0x8026000C
#define ORBIS_AUDIO_OUT_ERROR_OUT_OF_MEMORY 0x8026000D
#define ORBIS_AUDIO_OUT_ERROR_ALREADY_INIT 0x8026000E
#define ORBIS_AUDIO_OUT_ERROR_NOT_INIT 0x8026000F
#define ORBIS_AUDIO_OUT_ERROR_MEMORY 0x80260010
#define ORBIS_AUDIO_OUT_ERROR_SYSTEM_RESOURCE 0x80260011
#define ORBIS_AUDIO_OUT_ERROR_TRANS_EVENT 0x80260012
#define ORBIS_AUDIO_OUT_ERROR_INVALID_FLAG 0x80260013
#define ORBIS_AUDIO_OUT_ERROR_INVALID_MIXLEVEL 0x80260014
#define ORBIS_AUDIO_OUT_ERROR_INVALID_ARG 0x80260015
#define ORBIS_AUDIO_OUT_ERROR_INVALID_PARAM 0x80260016
#define ORBIS_AUDIO_OUT_ERROR_MASTERING_FATAL 0x80260200
#define ORBIS_AUDIO_OUT_ERROR_MASTERING_INVALID_API_PARAM 0x80260201
#define ORBIS_AUDIO_OUT_ERROR_MASTERING_INVALID_CONFIG 0x80260202
#define ORBIS_AUDIO_OUT_ERROR_MASTERING_NOT_INITIALIZED 0x80260203
#define ORBIS_AUDIO_OUT_ERROR_MASTERING_INVALID_STATES_ID 0x80260204
// VideoOut library
#define ORBIS_VIDEO_OUT_ERROR_INVALID_VALUE 0x80290001
#define ORBIS_VIDEO_OUT_ERROR_INVALID_ADDRESS 0x80290002
#define ORBIS_VIDEO_OUT_ERROR_INVALID_PIXEL_FORMAT 0x80290003
#define ORBIS_VIDEO_OUT_ERROR_INVALID_PITCH 0x80290004
#define ORBIS_VIDEO_OUT_ERROR_INVALID_RESOLUTION 0x80290005
#define ORBIS_VIDEO_OUT_ERROR_INVALID_FLIP_MODE 0x80290006
#define ORBIS_VIDEO_OUT_ERROR_INVALID_TILING_MODE 0x80290007
#define ORBIS_VIDEO_OUT_ERROR_INVALID_ASPECT_RATIO 0x80290008
#define ORBIS_VIDEO_OUT_ERROR_RESOURCE_BUSY 0x80290009
#define ORBIS_VIDEO_OUT_ERROR_INVALID_INDEX 0x8029000A
#define ORBIS_VIDEO_OUT_ERROR_INVALID_HANDLE 0x8029000B
#define ORBIS_VIDEO_OUT_ERROR_INVALID_EVENT_QUEUE 0x8029000C
#define ORBIS_VIDEO_OUT_ERROR_INVALID_EVENT 0x8029000D
#define ORBIS_VIDEO_OUT_ERROR_NO_EMPTY_SLOT 0x8029000F
#define ORBIS_VIDEO_OUT_ERROR_SLOT_OCCUPIED 0x80290010
#define ORBIS_VIDEO_OUT_ERROR_FLIP_QUEUE_FULL 0x80290012
#define ORBIS_VIDEO_OUT_ERROR_INVALID_MEMORY 0x80290013
#define ORBIS_VIDEO_OUT_ERROR_MEMORY_NOT_PHYSICALLY_CONTIGUOUS 0x80290014
#define ORBIS_VIDEO_OUT_ERROR_MEMORY_INVALID_ALIGNMENT 0x80290015
#define ORBIS_VIDEO_OUT_ERROR_UNSUPPORTED_OUTPUT_MODE 0x80290016
#define ORBIS_VIDEO_OUT_ERROR_OVERFLOW 0x80290017
#define ORBIS_VIDEO_OUT_ERROR_NO_DEVICE 0x80290018
#define ORBIS_VIDEO_OUT_ERROR_UNAVAILABLE_OUTPUT_MODE 0x80290019
#define ORBIS_VIDEO_OUT_ERROR_INVALID_OPTION 0x8029001A
#define ORBIS_VIDEO_OUT_ERROR_UNKNOWN 0x802900FE
#define ORBIS_VIDEO_OUT_ERROR_FATAL 0x802900FF
#define ORBIS_VIDEO_OUT_ERROR_ENOMEM 0x8029100C
// Pad library
#define ORBIS_PAD_ERROR_INVALID_ARG 0x80920001
#define ORBIS_PAD_ERROR_INVALID_PORT 0x80920002
#define ORBIS_PAD_ERROR_INVALID_HANDLE 0x80920003
#define ORBIS_PAD_ERROR_ALREADY_OPENED 0x80920004
#define ORBIS_PAD_ERROR_NOT_INITIALIZED 0x80920005
#define ORBIS_PAD_ERROR_INVALID_LIGHTBAR_SETTING 0x80920006
#define ORBIS_PAD_ERROR_DEVICE_NOT_CONNECTED 0x80920007
#define ORBIS_PAD_ERROR_DEVICE_NO_HANDLE 0x80920008
#define ORBIS_PAD_ERROR_FATAL 0x809200FF
#define ORBIS_PAD_ERROR_NOT_PERMITTED 0x80920101
#define ORBIS_PAD_ERROR_INVALID_BUFFER_LENGTH 0x80920102
#define ORBIS_PAD_ERROR_INVALID_REPORT_LENGTH 0x80920103
#define ORBIS_PAD_ERROR_INVALID_REPORT_ID 0x80920104
#define ORBIS_PAD_ERROR_SEND_AGAIN 0x80920105
// UserService library
#define ORBIS_USER_SERVICE_ERROR_INTERNAL 0x80960001
#define ORBIS_USER_SERVICE_ERROR_NOT_INITIALIZED 0x80960002
#define ORBIS_USER_SERVICE_ERROR_ALREADY_INITIALIZED 0x80960003
#define ORBIS_USER_SERVICE_ERROR_NO_MEMORY 0x80960004
#define ORBIS_USER_SERVICE_ERROR_INVALID_ARGUMENT 0x80960005
#define ORBIS_USER_SERVICE_ERROR_OPERATION_NOT_SUPPORTED 0x80960006
#define ORBIS_USER_SERVICE_ERROR_NO_EVENT 0x80960007
#define ORBIS_USER_SERVICE_ERROR_NOT_LOGGED_IN 0x80960009
#define ORBIS_USER_SERVICE_ERROR_BUFFER_TOO_SHORT 0x8096000A

View file

@ -0,0 +1,210 @@
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
// Generated By moduleGenerator
#include "common/logging/log.h"
#include "error_codes.h"
#include "libscecommondialog.h"
namespace Libraries::CommonDialog {
int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil12getSelfAppIdEv() {
LOG_ERROR(Lib_CommonDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6Client11closeModuleEv() {
LOG_ERROR(Lib_CommonDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6Client11updateStateEv() {
LOG_ERROR(Lib_CommonDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6Client15launchCmnDialogEv() {
LOG_ERROR(Lib_CommonDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6ClientD0Ev() {
LOG_ERROR(Lib_CommonDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6ClientD1Ev() {
LOG_ERROR(Lib_CommonDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6ClientD2Ev() {
LOG_ERROR(Lib_CommonDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client10isCloseReqEv() {
LOG_ERROR(Lib_CommonDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client13getFinishDataEPvm() {
LOG_ERROR(Lib_CommonDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client14getClientStateEv() {
LOG_ERROR(Lib_CommonDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client19isInitializedStatusEv() {
LOG_ERROR(Lib_CommonDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client8getAppIdEv() {
LOG_ERROR(Lib_CommonDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client8isFinishEv() {
LOG_ERROR(Lib_CommonDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client9getResultEv() {
LOG_ERROR(Lib_CommonDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI _ZTVN3sce16CommonDialogUtil6ClientE() {
LOG_ERROR(Lib_CommonDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI sceCommonDialogInitialize() {
LOG_ERROR(Lib_CommonDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI sceCommonDialogIsUsed() {
LOG_ERROR(Lib_CommonDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI Func_0FF577E4E8457883() {
LOG_ERROR(Lib_CommonDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI Func_41716C2CE379416C() {
LOG_ERROR(Lib_CommonDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI Func_483A427D8F6E0748() {
LOG_ERROR(Lib_CommonDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI Func_6944B83E02727BDF() {
LOG_ERROR(Lib_CommonDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI Func_69F2DD23A8B4950C() {
LOG_ERROR(Lib_CommonDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI Func_9954673DEAC170AD() {
LOG_ERROR(Lib_CommonDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI Func_A7D4D3AB86CB7455() {
LOG_ERROR(Lib_CommonDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI Func_ADE4C51256B8350C() {
LOG_ERROR(Lib_CommonDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI Func_B71349CF15FACAB0() {
LOG_ERROR(Lib_CommonDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI Func_CB18E00EFA946C64() {
LOG_ERROR(Lib_CommonDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI Func_F2AEE270605622B0() {
LOG_ERROR(Lib_CommonDlg, "(STUBBED) called");
return ORBIS_OK;
}
void RegisterlibSceCommonDialog(Core::Loader::SymbolsResolver* sym) {
LIB_FUNCTION("2RdicdHhtGA", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1,
_ZN3sce16CommonDialogUtil12getSelfAppIdEv);
LIB_FUNCTION("I+tdxsCap08", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1,
_ZN3sce16CommonDialogUtil6Client11closeModuleEv);
LIB_FUNCTION("v4+gzuTkv6k", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1,
_ZN3sce16CommonDialogUtil6Client11updateStateEv);
LIB_FUNCTION("CwCzG0nnLg8", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1,
_ZN3sce16CommonDialogUtil6Client15launchCmnDialogEv);
LIB_FUNCTION("Ib1SMmbr07k", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1,
_ZN3sce16CommonDialogUtil6ClientD0Ev);
LIB_FUNCTION("6TIMpGvsrC4", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1,
_ZN3sce16CommonDialogUtil6ClientD1Ev);
LIB_FUNCTION("+UyKxWAnqIU", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1,
_ZN3sce16CommonDialogUtil6ClientD2Ev);
LIB_FUNCTION("bUCx72-9f0g", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1,
_ZNK3sce16CommonDialogUtil6Client10isCloseReqEv);
LIB_FUNCTION("xZtXq554Lbg", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1,
_ZNK3sce16CommonDialogUtil6Client13getFinishDataEPvm);
LIB_FUNCTION("C-EZ3PkhibQ", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1,
_ZNK3sce16CommonDialogUtil6Client14getClientStateEv);
LIB_FUNCTION("70niEKUAnZ0", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1,
_ZNK3sce16CommonDialogUtil6Client19isInitializedStatusEv);
LIB_FUNCTION("mdJgdwoM0Mo", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1,
_ZNK3sce16CommonDialogUtil6Client8getAppIdEv);
LIB_FUNCTION("87GekE1nowg", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1,
_ZNK3sce16CommonDialogUtil6Client8isFinishEv);
LIB_FUNCTION("6ljeTSi+fjs", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1,
_ZNK3sce16CommonDialogUtil6Client9getResultEv);
LIB_FUNCTION("W2MzrWix2mM", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1,
_ZTVN3sce16CommonDialogUtil6ClientE);
LIB_FUNCTION("uoUpLGNkygk", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1,
sceCommonDialogInitialize);
LIB_FUNCTION("BQ3tey0JmQM", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1,
sceCommonDialogIsUsed);
LIB_FUNCTION("D-V35OhFeIM", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1,
Func_0FF577E4E8457883);
LIB_FUNCTION("QXFsLON5QWw", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1,
Func_41716C2CE379416C);
LIB_FUNCTION("SDpCfY9uB0g", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1,
Func_483A427D8F6E0748);
LIB_FUNCTION("aUS4PgJye98", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1,
Func_6944B83E02727BDF);
LIB_FUNCTION("afLdI6i0lQw", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1,
Func_69F2DD23A8B4950C);
LIB_FUNCTION("mVRnPerBcK0", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1,
Func_9954673DEAC170AD);
LIB_FUNCTION("p9TTq4bLdFU", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1,
Func_A7D4D3AB86CB7455);
LIB_FUNCTION("reTFEla4NQw", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1,
Func_ADE4C51256B8350C);
LIB_FUNCTION("txNJzxX6yrA", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1,
Func_B71349CF15FACAB0);
LIB_FUNCTION("yxjgDvqUbGQ", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1,
Func_CB18E00EFA946C64);
LIB_FUNCTION("8q7icGBWIrA", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1,
Func_F2AEE270605622B0);
};
} // namespace Libraries::CommonDialog

View file

@ -0,0 +1,46 @@
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "library_common.h"
namespace Libraries::CommonDialog {
struct OrbisCommonDialogBaseParam {
std::size_t size;
u8 reserved[36];
u32 magic;
};
int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil12getSelfAppIdEv();
int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6Client11closeModuleEv();
int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6Client11updateStateEv();
int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6Client15launchCmnDialogEv();
int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6ClientD0Ev();
int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6ClientD1Ev();
int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6ClientD2Ev();
int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client10isCloseReqEv();
int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client13getFinishDataEPvm();
int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client14getClientStateEv();
int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client19isInitializedStatusEv();
int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client8getAppIdEv();
int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client8isFinishEv();
int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client9getResultEv();
int PS4_SYSV_ABI _ZTVN3sce16CommonDialogUtil6ClientE();
int PS4_SYSV_ABI sceCommonDialogInitialize();
int PS4_SYSV_ABI sceCommonDialogIsUsed();
int PS4_SYSV_ABI Func_0FF577E4E8457883();
int PS4_SYSV_ABI Func_41716C2CE379416C();
int PS4_SYSV_ABI Func_483A427D8F6E0748();
int PS4_SYSV_ABI Func_6944B83E02727BDF();
int PS4_SYSV_ABI Func_69F2DD23A8B4950C();
int PS4_SYSV_ABI Func_9954673DEAC170AD();
int PS4_SYSV_ABI Func_A7D4D3AB86CB7455();
int PS4_SYSV_ABI Func_ADE4C51256B8350C();
int PS4_SYSV_ABI Func_B71349CF15FACAB0();
int PS4_SYSV_ABI Func_CB18E00EFA946C64();
int PS4_SYSV_ABI Func_F2AEE270605622B0();
void RegisterlibSceCommonDialog(Core::Loader::SymbolsResolver* sym);
} // namespace Libraries::CommonDialog

View file

@ -0,0 +1,85 @@
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
// Generated By moduleGenerator
#include "common/logging/log.h"
#include "error_codes.h"
#include "libscemsgdialog.h"
namespace Libraries::MsgDialog {
int PS4_SYSV_ABI sceMsgDialogClose() {
LOG_ERROR(Lib_MsgDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI sceMsgDialogGetResult() {
LOG_ERROR(Lib_MsgDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI sceMsgDialogGetStatus() {
LOG_ERROR(Lib_MsgDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI sceMsgDialogInitialize() {
LOG_ERROR(Lib_MsgDlg, "(STUBBED) called");
return ORBIS_OK;
}
s32 PS4_SYSV_ABI sceMsgDialogOpen(const OrbisMsgDialogParam* param) {
LOG_ERROR(Lib_MsgDlg, "(STUBBED) called");
OrbisMsgDialogUserMessageParam* userMsgParam = param->userMsgParam;
const char* msg = userMsgParam->msg;
printf("sceMsgDialogOpen msg : %s", msg);
return ORBIS_OK;
}
int PS4_SYSV_ABI sceMsgDialogProgressBarInc() {
LOG_ERROR(Lib_MsgDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI sceMsgDialogProgressBarSetMsg() {
LOG_ERROR(Lib_MsgDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI sceMsgDialogProgressBarSetValue() {
LOG_ERROR(Lib_MsgDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI sceMsgDialogTerminate() {
LOG_ERROR(Lib_MsgDlg, "(STUBBED) called");
return ORBIS_OK;
}
int PS4_SYSV_ABI sceMsgDialogUpdateStatus() {
LOG_ERROR(Lib_MsgDlg, "(STUBBED) called");
return ORBIS_OK;
}
void RegisterlibSceMsgDialog(Core::Loader::SymbolsResolver* sym) {
LIB_FUNCTION("HTrcDKlFKuM", "libSceMsgDialog", 1, "libSceMsgDialog", 1, 1, sceMsgDialogClose);
LIB_FUNCTION("Lr8ovHH9l6A", "libSceMsgDialog", 1, "libSceMsgDialog", 1, 1,
sceMsgDialogGetResult);
LIB_FUNCTION("CWVW78Qc3fI", "libSceMsgDialog", 1, "libSceMsgDialog", 1, 1,
sceMsgDialogGetStatus);
LIB_FUNCTION("lDqxaY1UbEo", "libSceMsgDialog", 1, "libSceMsgDialog", 1, 1,
sceMsgDialogInitialize);
LIB_FUNCTION("b06Hh0DPEaE", "libSceMsgDialog", 1, "libSceMsgDialog", 1, 1, sceMsgDialogOpen);
LIB_FUNCTION("Gc5k1qcK4fs", "libSceMsgDialog", 1, "libSceMsgDialog", 1, 1,
sceMsgDialogProgressBarInc);
LIB_FUNCTION("6H-71OdrpXM", "libSceMsgDialog", 1, "libSceMsgDialog", 1, 1,
sceMsgDialogProgressBarSetMsg);
LIB_FUNCTION("wTpfglkmv34", "libSceMsgDialog", 1, "libSceMsgDialog", 1, 1,
sceMsgDialogProgressBarSetValue);
LIB_FUNCTION("ePw-kqZmelo", "libSceMsgDialog", 1, "libSceMsgDialog", 1, 1,
sceMsgDialogTerminate);
LIB_FUNCTION("6fIC3XKt2k0", "libSceMsgDialog", 1, "libSceMsgDialog", 1, 1,
sceMsgDialogUpdateStatus);
};
} // namespace Libraries::MsgDialog

View file

@ -0,0 +1,95 @@
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "library_common.h"
#include "libscecommondialog.h"
namespace Libraries::MsgDialog {
using OrbisUserServiceUserId = s32;
enum OrbisMsgDialogMode {
ORBIS_MSG_DIALOG_MODE_USER_MSG = 1,
ORBIS_MSG_DIALOG_MODE_PROGRESS_BAR = 2,
ORBIS_MSG_DIALOG_MODE_SYSTEM_MSG = 3,
};
enum OrbisMsgDialogButtonType {
ORBIS_MSG_DIALOG_BUTTON_TYPE_OK = 0,
ORBIS_MSG_DIALOG_BUTTON_TYPE_YESNO = 1,
ORBIS_MSG_DIALOG_BUTTON_TYPE_NONE = 2,
ORBIS_MSG_DIALOG_BUTTON_TYPE_OK_CANCEL = 3,
ORBIS_MSG_DIALOG_BUTTON_TYPE_WAIT = 5,
ORBIS_MSG_DIALOG_BUTTON_TYPE_WAIT_CANCEL = 6,
ORBIS_MSG_DIALOG_BUTTON_TYPE_YESNO_FOCUS_NO = 7,
ORBIS_MSG_DIALOG_BUTTON_TYPE_OK_CANCEL_FOCUS_CANCEL = 8,
ORBIS_MSG_DIALOG_BUTTON_TYPE_2BUTTONS = 9,
};
enum OrbisMsgDialogProgressBarType {
ORBIS_MSG_DIALOG_PROGRESSBAR_TYPE_PERCENTAGE = 0,
ORBIS_MSG_DIALOG_PROGRESSBAR_TYPE_PERCENTAGE_CANCEL = 1,
};
enum OrbisMsgDialogSystemMessageType {
ORBIS_MSG_DIALOG_SYSMSG_TYPE_TRC_EMPTY_STORE = 0,
ORBIS_MSG_DIALOG_SYSMSG_TYPE_TRC_PSN_CHAT_RESTRICTION = 1,
ORBIS_MSG_DIALOG_SYSMSG_TYPE_TRC_PSN_UGC_RESTRICTION = 2,
ORBIS_MSG_DIALOG_SYSMSG_TYPE_CAMERA_NOT_CONNECTED = 4,
ORBIS_MSG_DIALOG_SYSMSG_TYPE_WARNING_PROFILE_PICTURE_AND_NAME_NOT_SHARED = 5,
};
struct OrbisMsgDialogButtonsParam {
const char* msg1;
const char* msg2;
char reserved[32];
};
struct OrbisMsgDialogUserMessageParam {
OrbisMsgDialogButtonType buttonType;
s32 : 32;
const char* msg;
OrbisMsgDialogButtonsParam* buttonsParam;
char reserved[24];
};
struct OrbisMsgDialogProgressBarParam {
OrbisMsgDialogProgressBarType barType;
int32_t : 32;
const char* msg;
char reserved[64];
};
struct OrbisMsgDialogSystemMessageParam {
OrbisMsgDialogSystemMessageType sysMsgType;
char reserved[32];
};
struct OrbisMsgDialogParam {
CommonDialog::OrbisCommonDialogBaseParam baseParam;
std::size_t size;
OrbisMsgDialogMode mode;
s32 : 32;
OrbisMsgDialogUserMessageParam* userMsgParam;
OrbisMsgDialogProgressBarParam* progBarParam;
OrbisMsgDialogSystemMessageParam* sysMsgParam;
OrbisUserServiceUserId userId;
char reserved[40];
s32 : 32;
};
int PS4_SYSV_ABI sceMsgDialogClose();
int PS4_SYSV_ABI sceMsgDialogGetResult();
int PS4_SYSV_ABI sceMsgDialogGetStatus();
int PS4_SYSV_ABI sceMsgDialogInitialize();
s32 PS4_SYSV_ABI sceMsgDialogOpen(const OrbisMsgDialogParam* param);
int PS4_SYSV_ABI sceMsgDialogProgressBarInc();
int PS4_SYSV_ABI sceMsgDialogProgressBarSetMsg();
int PS4_SYSV_ABI sceMsgDialogProgressBarSetValue();
int PS4_SYSV_ABI sceMsgDialogTerminate();
int PS4_SYSV_ABI sceMsgDialogUpdateStatus();
void RegisterlibSceMsgDialog(Core::Loader::SymbolsResolver* sym);
} // namespace Libraries::MsgDialog

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,573 @@
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
// reference
// https://github.com/OpenOrbis/OpenOrbis-PS4-Toolchain/blob/master/include/orbis/_types/sys_service.h
#pragma once
#include "library_common.h"
namespace Libraries::SystemService {
enum OrbisSystemServiceParamId {
ORBIS_SYSTEM_SERVICE_PARAM_ID_LANG = 1,
ORBIS_SYSTEM_SERVICE_PARAM_ID_DATE_FORMAT = 2,
ORBIS_SYSTEM_SERVICE_PARAM_ID_TIME_FORMAT = 3,
ORBIS_SYSTEM_SERVICE_PARAM_ID_TIME_ZONE = 4,
ORBIS_SYSTEM_SERVICE_PARAM_ID_SUMMERTIME = 5,
ORBIS_SYSTEM_SERVICE_PARAM_ID_SYSTEM_NAME = 6,
ORBIS_SYSTEM_SERVICE_PARAM_ID_GAME_PARENTAL_LEVEL = 7,
ORBIS_SYSTEM_SERVICE_PARAM_ID_ENTER_BUTTON_ASSIGN = 1000
};
enum OrbisSystemParamDateFormat {
ORBIS_SYSTEM_PARAM_DATE_FORMAT_YYYYMMDD = 0,
ORBIS_SYSTEM_PARAM_DATE_FORMAT_DDMMYYYY = 1,
ORBIS_SYSTEM_PARAM_DATE_FORMAT_MMDDYYYY = 2
};
enum OrbisSystemParamTimeFormat {
ORBIS_SYSTEM_PARAM_TIME_FORMAT_12HOUR = 0,
ORBIS_SYSTEM_PARAM_TIME_FORMAT_24HOUR = 1
};
enum OrbisSystemParamGameParentalLevel {
ORBIS_SYSTEM_PARAM_GAME_PARENTAL_OFF = 0,
ORBIS_SYSTEM_PARAM_GAME_PARENTAL_LEVEL01 = 1,
ORBIS_SYSTEM_PARAM_GAME_PARENTAL_LEVEL02 = 2,
ORBIS_SYSTEM_PARAM_GAME_PARENTAL_LEVEL03 = 3,
ORBIS_SYSTEM_PARAM_GAME_PARENTAL_LEVEL04 = 4,
ORBIS_SYSTEM_PARAM_GAME_PARENTAL_LEVEL05 = 5,
ORBIS_SYSTEM_PARAM_GAME_PARENTAL_LEVEL06 = 6,
ORBIS_SYSTEM_PARAM_GAME_PARENTAL_LEVEL07 = 7,
ORBIS_SYSTEM_PARAM_GAME_PARENTAL_LEVEL08 = 8,
ORBIS_SYSTEM_PARAM_GAME_PARENTAL_LEVEL09 = 9,
ORBIS_SYSTEM_PARAM_GAME_PARENTAL_LEVEL10 = 10,
ORBIS_SYSTEM_PARAM_GAME_PARENTAL_LEVEL11 = 11
};
enum OrbisSystemParamEnterButtonAssign {
ORBIS_SYSTEM_PARAM_ENTER_BUTTON_ASSIGN_CIRCLE = 0,
ORBIS_SYSTEM_PARAM_ENTER_BUTTON_ASSIGN_CROSS = 1
};
enum OrbisSystemParamLanguage {
ORBIS_SYSTEM_PARAM_LANG_JAPANESE = 0,
ORBIS_SYSTEM_PARAM_LANG_ENGLISH_US = 1,
ORBIS_SYSTEM_PARAM_LANG_FRENCH = 2,
ORBIS_SYSTEM_PARAM_LANG_SPANISH = 3,
ORBIS_SYSTEM_PARAM_LANG_GERMAN = 4,
ORBIS_SYSTEM_PARAM_LANG_ITALIAN = 5,
ORBIS_SYSTEM_PARAM_LANG_DUTCH = 6,
ORBIS_SYSTEM_PARAM_LANG_PORTUGUESE_PT = 7,
ORBIS_SYSTEM_PARAM_LANG_RUSSIAN = 8,
ORBIS_SYSTEM_PARAM_LANG_KOREAN = 9,
ORBIS_SYSTEM_PARAM_LANG_CHINESE_T = 10,
ORBIS_SYSTEM_PARAM_LANG_CHINESE_S = 11,
ORBIS_SYSTEM_PARAM_LANG_FINNISH = 12,
ORBIS_SYSTEM_PARAM_LANG_SWEDISH = 13,
ORBIS_SYSTEM_PARAM_LANG_DANISH = 14,
ORBIS_SYSTEM_PARAM_LANG_NORWEGIAN = 15,
ORBIS_SYSTEM_PARAM_LANG_POLISH = 16,
ORBIS_SYSTEM_PARAM_LANG_PORTUGUESE_BR = 17,
ORBIS_SYSTEM_PARAM_LANG_ENGLISH_GB = 18,
ORBIS_SYSTEM_PARAM_LANG_TURKISH = 19,
ORBIS_SYSTEM_PARAM_LANG_SPANISH_LA = 20,
ORBIS_SYSTEM_PARAM_LANG_ARABIC = 21,
ORBIS_SYSTEM_PARAM_LANG_FRENCH_CA = 22,
ORBIS_SYSTEM_PARAM_LANG_CZECH = 23,
ORBIS_SYSTEM_PARAM_LANG_HUNGARIAN = 24,
ORBIS_SYSTEM_PARAM_LANG_GREEK = 25,
ORBIS_SYSTEM_PARAM_LANG_ROMANIAN = 26,
ORBIS_SYSTEM_PARAM_LANG_THAI = 27,
ORBIS_SYSTEM_PARAM_LANG_VIETNAMESE = 28,
ORBIS_SYSTEM_PARAM_LANG_INDONESIAN = 29
};
struct OrbisSystemServiceStatus {
s32 eventNum;
bool isSystemUiOverlaid;
bool isInBackgroundExecution;
bool isCpuMode7CpuNormal;
bool isGameLiveStreamingOnAir;
bool isOutOfVrPlayArea;
u8 reserved[];
};
struct OrbisSystemServiceDisplaySafeAreaInfo {
float ratio;
uint8_t reserved[128];
};
int PS4_SYSV_ABI sceAppMessagingClearEventFlag();
int PS4_SYSV_ABI sceAppMessagingReceiveMsg();
int PS4_SYSV_ABI sceAppMessagingSendMsg();
int PS4_SYSV_ABI sceAppMessagingSendMsgToShellCore();
int PS4_SYSV_ABI sceAppMessagingSendMsgToShellUI();
int PS4_SYSV_ABI sceAppMessagingSetEventFlag();
int PS4_SYSV_ABI sceAppMessagingTryGetEventFlag();
int PS4_SYSV_ABI sceAppMessagingTryReceiveMsg();
int PS4_SYSV_ABI Func_C8E899ABEF7F64C4();
int PS4_SYSV_ABI Func_F74BA759B9C8D2A1();
int PS4_SYSV_ABI sceLncUtilAcquireCpuBudgetOfExtraAudioDevices();
int PS4_SYSV_ABI sceLncUtilAcquireCpuBudgetOfImeForBigApp();
int PS4_SYSV_ABI sceLncUtilAcquireCpuBudgetOfInGameStore();
int PS4_SYSV_ABI sceLncUtilActivateCdlg();
int PS4_SYSV_ABI sceLncUtilAddLocalProcess();
int PS4_SYSV_ABI sceLncUtilBlockAppSuspend();
int PS4_SYSV_ABI sceLncUtilBlockingGetEventForDaemon();
int PS4_SYSV_ABI sceLncUtilContinueApp();
int PS4_SYSV_ABI sceLncUtilCrashSyscore();
int PS4_SYSV_ABI sceLncUtilDeactivateCdlg();
int PS4_SYSV_ABI sceLncUtilDeclareReadyForSuspend();
int PS4_SYSV_ABI sceLncUtilDisableSuspendNotification();
int PS4_SYSV_ABI sceLncUtilEnableSuspendNotification();
int PS4_SYSV_ABI sceLncUtilFinishSpecialResume();
int PS4_SYSV_ABI sceLncUtilForceKillApp();
int PS4_SYSV_ABI sceLncUtilForceKillLocalProcess();
int PS4_SYSV_ABI sceLncUtilGetApp0DirPath();
int PS4_SYSV_ABI sceLncUtilGetAppCategory();
int PS4_SYSV_ABI sceLncUtilGetAppFocusedAppStatus();
int PS4_SYSV_ABI sceLncUtilGetAppId();
int PS4_SYSV_ABI sceLncUtilGetAppIdOfBigApp();
int PS4_SYSV_ABI sceLncUtilGetAppIdOfMiniApp();
int PS4_SYSV_ABI sceLncUtilGetAppLaunchedUser();
int PS4_SYSV_ABI sceLncUtilGetAppStatus();
int PS4_SYSV_ABI sceLncUtilGetAppStatusListForShellUIReboot();
int PS4_SYSV_ABI sceLncUtilGetAppTitleId();
int PS4_SYSV_ABI sceLncUtilGetAppType();
int PS4_SYSV_ABI sceLncUtilGetCdlgExec();
int PS4_SYSV_ABI sceLncUtilGetCoredumpState();
int PS4_SYSV_ABI sceLncUtilGetDbgExecutablePath();
int PS4_SYSV_ABI sceLncUtilGetEventForDaemon();
int PS4_SYSV_ABI sceLncUtilGetEventForShellUI();
int PS4_SYSV_ABI sceLncUtilGetGpuCrashFullDumpAppStatus();
int PS4_SYSV_ABI sceLncUtilGetLocalProcessStatusList();
int PS4_SYSV_ABI sceLncUtilGetParentSocket();
int PS4_SYSV_ABI sceLncUtilGetResultKillApp();
int PS4_SYSV_ABI sceLncUtilGetResultLaunchAppByTitleId();
int PS4_SYSV_ABI sceLncUtilInitialize();
int PS4_SYSV_ABI sceLncUtilIsActiveCdlg();
int PS4_SYSV_ABI sceLncUtilIsAppLaunched();
int PS4_SYSV_ABI sceLncUtilIsAppSuspended();
int PS4_SYSV_ABI sceLncUtilIsCpuBudgetOfExtraAudioDevicesAvailable();
int PS4_SYSV_ABI sceLncUtilIsPs2Emu();
int PS4_SYSV_ABI sceLncUtilIsShellUiFgAndGameBgCpuMode();
int PS4_SYSV_ABI sceLncUtilKickCoredumpOnlyProcMem();
int PS4_SYSV_ABI sceLncUtilKillApp();
int PS4_SYSV_ABI sceLncUtilKillAppWithReason();
int PS4_SYSV_ABI sceLncUtilKillLocalProcess();
int PS4_SYSV_ABI sceLncUtilLaunchApp();
int PS4_SYSV_ABI sceLncUtilLoadExec();
int PS4_SYSV_ABI sceLncUtilNotifyCoredumpRequestEnd();
int PS4_SYSV_ABI sceLncUtilNotifyCoredumpRequestProgress();
int PS4_SYSV_ABI sceLncUtilNotifyVshReady();
int PS4_SYSV_ABI sceLncUtilRaiseException();
int PS4_SYSV_ABI sceLncUtilRaiseExceptionLocalProcess();
int PS4_SYSV_ABI sceLncUtilRegisterCdlgSharedMemoryName();
int PS4_SYSV_ABI sceLncUtilRegisterDaemon();
int PS4_SYSV_ABI sceLncUtilRegisterShellUI();
int PS4_SYSV_ABI sceLncUtilReleaseCpuBudgetOfExtraAudioDevices();
int PS4_SYSV_ABI sceLncUtilReleaseCpuBudgetOfImeForBigApp();
int PS4_SYSV_ABI sceLncUtilReleaseCpuBudgetOfInGameStore();
int PS4_SYSV_ABI sceLncUtilResumeApp();
int PS4_SYSV_ABI sceLncUtilResumeLocalProcess();
int PS4_SYSV_ABI sceLncUtilSetAppFocus();
int PS4_SYSV_ABI sceLncUtilSetCdlgExec();
int PS4_SYSV_ABI sceLncUtilSetControllerFocus();
int PS4_SYSV_ABI sceLncUtilSetControllerFocusPermission();
int PS4_SYSV_ABI sceLncUtilStartKillApp();
int PS4_SYSV_ABI sceLncUtilStartLaunchAppByTitleId();
int PS4_SYSV_ABI sceLncUtilSuspendApp();
int PS4_SYSV_ABI sceLncUtilSuspendBackgroundApp();
int PS4_SYSV_ABI sceLncUtilSuspendLocalProcess();
int PS4_SYSV_ABI sceLncUtilSystemSuspend();
int PS4_SYSV_ABI sceLncUtilTerminate();
int PS4_SYSV_ABI sceLncUtilTryBlockAppSuspend();
int PS4_SYSV_ABI sceLncUtilUnblockAppSuspend();
int PS4_SYSV_ABI sceLncUtilUnregisterCdlgSharedMemoryName();
int PS4_SYSV_ABI sceLncUtilUnregisterDaemon();
int PS4_SYSV_ABI sceLncUtilUnregisterShellUI();
int PS4_SYSV_ABI sceSystemServiceActivateHevcSoft();
int PS4_SYSV_ABI sceSystemServiceActivateHevcSoftAbort();
int PS4_SYSV_ABI sceSystemServiceActivateHevcSoftGetStatus();
int PS4_SYSV_ABI sceSystemServiceActivateHevcSoftInit();
int PS4_SYSV_ABI sceSystemServiceActivateHevcSoftIsActivated();
int PS4_SYSV_ABI sceSystemServiceActivateHevcSoftStart();
int PS4_SYSV_ABI sceSystemServiceActivateHevcSoftTerm();
int PS4_SYSV_ABI sceShellCoreUtilAccessibilityZoomLock();
int PS4_SYSV_ABI sceShellCoreUtilAccessibilityZoomUnlock();
int PS4_SYSV_ABI sceShellCoreUtilAcquireBgmCpuBudget();
int PS4_SYSV_ABI sceShellCoreUtilAcquireRemotePlayCpuBudget();
int PS4_SYSV_ABI sceShellCoreUtilAcquireSharePlayCpuBudget();
int PS4_SYSV_ABI sceShellCoreUtilActivateAbort();
int PS4_SYSV_ABI sceShellCoreUtilActivateGetStatus();
int PS4_SYSV_ABI sceShellCoreUtilActivateInit();
int PS4_SYSV_ABI sceShellCoreUtilActivateIsActivated();
int PS4_SYSV_ABI sceShellCoreUtilActivateRecordActivation();
int PS4_SYSV_ABI sceShellCoreUtilActivateStart();
int PS4_SYSV_ABI sceShellCoreUtilActivateStartAsync();
int PS4_SYSV_ABI sceShellCoreUtilActivateTerm();
int PS4_SYSV_ABI sceShellCoreUtilChangeRunLevel();
int PS4_SYSV_ABI sceShellCoreUtilChangeToStaffModeForIDU();
int PS4_SYSV_ABI sceShellCoreUtilCheckerAbort();
int PS4_SYSV_ABI sceShellCoreUtilCleanupCrashReport();
int PS4_SYSV_ABI sceShellCoreUtilClearAppData();
int PS4_SYSV_ABI sceShellCoreUtilClearPsnAccountInfo();
int PS4_SYSV_ABI sceShellCoreUtilCrashReportRequestCancel();
int PS4_SYSV_ABI sceShellCoreUtilDeclareBeginOfExternalStorageAppMove();
int PS4_SYSV_ABI sceShellCoreUtilDeclareEndOfExternalStorageAppMove();
int PS4_SYSV_ABI sceShellCoreUtilDeleteDiscInstalledTitleWorkaroundFile();
int PS4_SYSV_ABI sceShellCoreUtilDeleteDownloadedHidConfigFile();
int PS4_SYSV_ABI sceShellCoreUtilDeleteDownloadedNetEvConfigFile();
int PS4_SYSV_ABI sceShellCoreUtilDeleteDownloadedTitleWorkaroundFile();
int PS4_SYSV_ABI sceShellCoreUtilDeleteSmrHddDummyData();
int PS4_SYSV_ABI sceShellCoreUtilDoFsck();
int PS4_SYSV_ABI sceShellCoreUtilDownloadHidConfigFileFromServer();
int PS4_SYSV_ABI sceShellCoreUtilDownloadNetEvConfigFileFromServer();
int PS4_SYSV_ABI sceShellCoreUtilDownloadTitleWorkaroundFileFromServer();
int PS4_SYSV_ABI sceShellCoreUtilEnterPowerLockSection();
int PS4_SYSV_ABI sceShellCoreUtilExecuteCrashReport();
int PS4_SYSV_ABI sceShellCoreUtilExfatFormatExternalHdd();
int PS4_SYSV_ABI sceShellCoreUtilExitMiniApp();
int PS4_SYSV_ABI sceShellCoreUtilExitMiniAppWithValue();
int PS4_SYSV_ABI sceShellCoreUtilFillUpSpaceOnSmrHdd();
int PS4_SYSV_ABI sceShellCoreUtilFormatExternalHdd();
int PS4_SYSV_ABI sceShellCoreUtilFormatHddForRestore();
int PS4_SYSV_ABI sceShellCoreUtilFreeUpSpaceOnSmrHdd();
int PS4_SYSV_ABI sceShellCoreUtilGetAppData();
int PS4_SYSV_ABI sceShellCoreUtilGetAppEnableTTS();
int PS4_SYSV_ABI sceShellCoreUtilGetAppEnterButtonAssign();
int PS4_SYSV_ABI sceShellCoreUtilGetAppLaunchedParamInt();
int PS4_SYSV_ABI sceShellCoreUtilGetAppLaunchedParamIntByBudgetType();
int PS4_SYSV_ABI sceShellCoreUtilGetAppLaunchedParamString();
int PS4_SYSV_ABI sceShellCoreUtilGetAppLaunchedParamStringByBudgetType();
int PS4_SYSV_ABI sceShellCoreUtilGetAppLaunchTypeInfo();
int PS4_SYSV_ABI sceShellCoreUtilGetAutoPowerDownRemainingSeconds();
int PS4_SYSV_ABI sceShellCoreUtilGetBasicProductShape();
int PS4_SYSV_ABI sceShellCoreUtilGetCheckerString();
int PS4_SYSV_ABI sceShellCoreUtilGetCheckerStringEx();
int PS4_SYSV_ABI sceShellCoreUtilGetCloudClientStatus();
int PS4_SYSV_ABI sceShellCoreUtilGetCrashReportCoreFileSetSize();
int PS4_SYSV_ABI sceShellCoreUtilGetCrashReportFilterInfoStart();
int PS4_SYSV_ABI sceShellCoreUtilGetCrashReportInfoForBoot();
int PS4_SYSV_ABI sceShellCoreUtilGetCrashReportInfoForBootStart();
int PS4_SYSV_ABI sceShellCoreUtilGetCrashReportInfoStart();
int PS4_SYSV_ABI sceShellCoreutilGetCrashReportProcessInformation();
int PS4_SYSV_ABI sceShellCoreUtilGetCrashReportResult();
int PS4_SYSV_ABI sceShellCoreUtilGetCrashReportStatus();
int PS4_SYSV_ABI sceShellCoreUtilGetCrashReportUploadStatus();
int PS4_SYSV_ABI sceShellCoreUtilGetDeviceIndexBehavior();
int PS4_SYSV_ABI sceShellCoreUtilGetDeviceIndexBehaviorWithTimeout();
int PS4_SYSV_ABI sceShellCoreUtilGetEffectiveTotalSizeOfUserPartition();
int PS4_SYSV_ABI sceShellCoreUtilGetFreeSizeOfAvContentsTmp();
int PS4_SYSV_ABI sceShellCoreUtilGetFreeSizeOfUserPartition();
int PS4_SYSV_ABI sceShellCoreUtilGetFsckProgress();
int PS4_SYSV_ABI sceShellCoreUtilGetGameLiveStreamingStatus();
int PS4_SYSV_ABI sceShellCoreUtilGetGnmCompositorOnScreenProfilerFlag();
int PS4_SYSV_ABI sceShellCoreUtilGetGpuLoadEmulationMode();
int PS4_SYSV_ABI sceShellCoreUtilGetGpuLoadEmulationModeByAppId();
int PS4_SYSV_ABI sceShellCoreUtilGetHidConfigFileInfoString();
int PS4_SYSV_ABI sceShellCoreUtilGetHidConfigFileString();
int PS4_SYSV_ABI sceShellCoreUtilGetHidConfigName();
int PS4_SYSV_ABI sceShellCoreUtilGetHidConfigNum();
int PS4_SYSV_ABI sceShellCoreUtilGetIDUMode();
int PS4_SYSV_ABI sceShellCoreUtilGetImposeMenuFlagForPs2Emu();
int PS4_SYSV_ABI sceShellCoreUtilGetManifestFileStatus();
int PS4_SYSV_ABI sceShellCoreUtilGetNeedSizeOfAppContent();
int PS4_SYSV_ABI sceShellCoreUtilGetNetEvConfigFileInfoString();
int PS4_SYSV_ABI sceShellCoreUtilGetOptimizationStatus();
int PS4_SYSV_ABI sceShellCoreUtilGetOutOfVrPlayZoneWarning();
int PS4_SYSV_ABI sceShellCoreUtilGetPapcGamePcl();
int PS4_SYSV_ABI sceShellCoreUtilGetPbtcUserInfoList();
int PS4_SYSV_ABI sceShellCoreUtilGetPlatformPrivacyDefinitionEventData();
int PS4_SYSV_ABI sceShellCoreUtilGetPlatformPrivacySetting();
int PS4_SYSV_ABI sceShellCoreUtilGetProgressOfFormatExternalHdd();
int PS4_SYSV_ABI sceShellCoreUtilGetProgressOfFsck();
int PS4_SYSV_ABI sceShellCoreUtilGetPsnAccountInfo();
int PS4_SYSV_ABI sceShellCoreUtilGetPsStoreIconLayout();
int PS4_SYSV_ABI sceShellCoreUtilGetPsStoreIconState();
int PS4_SYSV_ABI sceShellCoreUtilGetRegion();
int PS4_SYSV_ABI sceShellCoreUtilGetRemotePlayStatus();
int PS4_SYSV_ABI sceShellCoreUtilGetRunLevel();
int PS4_SYSV_ABI sceShellCoreUtilGetSharePlayStatus();
int PS4_SYSV_ABI sceShellCoreUtilGetShellUIVMStats();
int PS4_SYSV_ABI sceShellCoreUtilGetSmrHddInfoString();
int PS4_SYSV_ABI sceShellCoreUtilGetSocialScreenStatus();
int PS4_SYSV_ABI sceShellCoreUtilGetSplashScreenState();
int PS4_SYSV_ABI sceShellCoreUtilGetSupportSiteURL();
int PS4_SYSV_ABI sceShellCoreUtilGetSuspendConfirmationDialogFlag();
int PS4_SYSV_ABI sceShellCoreUtilGetSystemBGState();
int PS4_SYSV_ABI sceShellCoreUtilGetSystemBGWaveColor();
int PS4_SYSV_ABI sceShellCoreUtilGetSystemBGWaveState();
int PS4_SYSV_ABI sceShellCoreUtilGetTitleWorkaroundFileInfoString();
int PS4_SYSV_ABI sceShellCoreUtilGetTitleWorkaroundFileString();
int PS4_SYSV_ABI sceShellCoreUtilGetUIStatus();
int PS4_SYSV_ABI sceShellCoreUtilGetUserFocus();
int PS4_SYSV_ABI sceShellCoreUtilGetUserIdOfMorpheusUser();
int PS4_SYSV_ABI sceShellCoreUtilGetVersionNumberOfCameraCalibrationData();
int PS4_SYSV_ABI sceShellCoreUtilGoBackToKratosCurrentSessionGame();
int PS4_SYSV_ABI sceShellCoreUtilHideBlocksFromUser();
int PS4_SYSV_ABI sceShellCoreUtilIncrementVersionNumberOfCameraCalibrationData();
int PS4_SYSV_ABI sceShellCoreUtilIsAccessibilityZoomLocked();
int PS4_SYSV_ABI sceShellCoreUtilIsBgmCpuBudgetAcquired();
int PS4_SYSV_ABI sceShellCoreUtilIsBgmCpuBudgetAvailable();
int PS4_SYSV_ABI sceShellCoreUtilIsBgmPlaying();
int PS4_SYSV_ABI sceShellCoreUtilIsExternalStorageAppMoveInProgress();
int PS4_SYSV_ABI sceShellCoreUtilIsEyeToEyeDistanceAdjusted();
int PS4_SYSV_ABI sceShellCoreUtilIsGameLiveStreamingOnAir();
int PS4_SYSV_ABI sceShellCoreUtilIsImposeScreenOverlaid();
int PS4_SYSV_ABI sceShellCoreUtilIsInSystemSuspendBlackList();
int PS4_SYSV_ABI sceShellCoreUtilIsInternalKratosUser();
int PS4_SYSV_ABI sceShellCoreUtilIsKilledOrSuspendedByLogout();
int PS4_SYSV_ABI sceShellCoreUtilIsNeededCrashReport();
int PS4_SYSV_ABI sceShellCoreUtilIsPowerSaveAlertRequested();
int PS4_SYSV_ABI sceShellCoreUtilIsRemotePlayCpuBudgetAcquired();
int PS4_SYSV_ABI sceShellCoreUtilIsScreenSaverOn();
int PS4_SYSV_ABI sceShellCoreUtilIsSharePlayCpuBudgetAcquired();
int PS4_SYSV_ABI sceShellCoreUtilIsShowCrashReport();
int PS4_SYSV_ABI sceShellCoreUtilIsTemperatureDanger();
int PS4_SYSV_ABI sceShellCoreUtilIsTitleWorkaroundEnabled();
int PS4_SYSV_ABI sceShellCoreUtilIsUsbMassStorageMounted();
int PS4_SYSV_ABI sceShellCoreUtilLaunchByUri();
int PS4_SYSV_ABI sceShellCoreUtilLeavePowerLockSection();
int PS4_SYSV_ABI sceShellCoreUtilLog();
int PS4_SYSV_ABI sceShellCoreUtilMakeManifestFile();
int PS4_SYSV_ABI sceShellCoreUtilMountAppRight();
int PS4_SYSV_ABI sceShellCoreUtilMountDownloadDataForShellUI();
int PS4_SYSV_ABI sceShellCoreUtilMountHddForBackup();
int PS4_SYSV_ABI sceShellCoreUtilMountHddForRestore();
int PS4_SYSV_ABI sceShellCoreUtilNavigateToAnotherApp();
int PS4_SYSV_ABI sceShellCoreUtilNavigateToGoHome();
int PS4_SYSV_ABI sceShellCoreUtilNavigateToLaunchedApp();
int PS4_SYSV_ABI sceShellCoreUtilNotificationCancelForIDU();
int PS4_SYSV_ABI sceShellCoreUtilNotificationRequestedForIDU();
int PS4_SYSV_ABI sceShellCoreUtilNotifyBgmCoreTermination();
int PS4_SYSV_ABI sceShellCoreUtilNotifyFarsightUIDone();
int PS4_SYSV_ABI sceShellCoreUtilNotifyFsReadError();
int PS4_SYSV_ABI sceShellCoreUtilNotifyPsnAccountInfoReceived();
int PS4_SYSV_ABI sceShellCoreUtilNotifyYouTubeAccountLinkStatusChanged();
int PS4_SYSV_ABI sceShellCoreUtilPfAuthClientConsoleTokenClearCache();
int PS4_SYSV_ABI sceShellCoreUtilPostActivityForPsNow();
int PS4_SYSV_ABI sceShellCoreUtilPostErrorLog();
int PS4_SYSV_ABI sceShellCoreUtilPostLaunchConfirmResult();
int PS4_SYSV_ABI sceShellCoreUtilPostPsmEventToShellUI();
int PS4_SYSV_ABI sceShellCoreUtilPreNotifyOfGameLiveStreaming();
int PS4_SYSV_ABI sceShellCoreUtilPreNotifyOfRemotePlay();
int PS4_SYSV_ABI sceShellCoreUtilPreNotifyOfSharePlay();
int PS4_SYSV_ABI sceShellCoreUtilReleaseBgmCpuBudget();
int PS4_SYSV_ABI sceShellCoreUtilReleaseRemotePlayCpuBudget();
int PS4_SYSV_ABI sceShellCoreUtilReleaseSharePlayCpuBudget();
int PS4_SYSV_ABI sceShellCoreUtilReportSessionErrorToGaikaiController();
int PS4_SYSV_ABI sceShellCoreUtilReportUnexpectedFatalErrorToSystemTelemetry();
int PS4_SYSV_ABI sceShellCoreUtilRequestCameraCalibration();
int PS4_SYSV_ABI sceShellCoreUtilRequestEjectDevice();
int PS4_SYSV_ABI sceShellCoreUtilRequestRebootApp();
int PS4_SYSV_ABI sceShellCoreUtilRequestShutdown();
int PS4_SYSV_ABI sceShellCoreUtilResetAutoPowerDownTimer();
int PS4_SYSV_ABI sceShellCoreUtilResetBgdcConfig();
int PS4_SYSV_ABI sceShellCoreUtilSetAppData();
int PS4_SYSV_ABI sceShellCoreUtilSetBgmProhibition();
int PS4_SYSV_ABI sceShellCoreUtilSetDeviceIndexBehavior();
int PS4_SYSV_ABI sceShellCoreUtilSetGameLiveStreamingOnAirFlag();
int PS4_SYSV_ABI sceShellCoreUtilSetGameLiveStreamingStatus();
int PS4_SYSV_ABI sceShellCoreUtilSetGnmCompositorOnScreenProfilerFlag();
int PS4_SYSV_ABI sceShellCoreUtilSetGpuLoadEmulationMode();
int PS4_SYSV_ABI sceShellCoreUtilSetGpuLoadEmulationModeByAppId();
int PS4_SYSV_ABI sceShellCoreUtilSetIDUMode();
int PS4_SYSV_ABI sceShellCoreUtilSetImposeStatusFlag();
int PS4_SYSV_ABI sceShellCoreUtilSetPsStoreIconLayout();
int PS4_SYSV_ABI sceShellCoreUtilSetPsStoreIconState();
int PS4_SYSV_ABI sceShellCoreUtilSetRemotePlayStatus();
int PS4_SYSV_ABI sceShellCoreUtilSetSharePlayStatus();
int PS4_SYSV_ABI sceShellCoreUtilSetSkipUpdateCheck();
int PS4_SYSV_ABI sceShellCoreUtilSetSocialScreenStatus();
int PS4_SYSV_ABI sceShellCoreUtilSetSplashScreenState();
int PS4_SYSV_ABI sceShellCoreUtilSetSystemBGState();
int PS4_SYSV_ABI sceShellCoreUtilSetSystemBGWaveColor();
int PS4_SYSV_ABI sceShellCoreUtilSetSystemBGWaveState();
int PS4_SYSV_ABI sceShellCoreUtilSetUIStatus();
int PS4_SYSV_ABI sceShellCoreUtilSetUserFocus();
int PS4_SYSV_ABI sceShellCoreUtilShowCriticalErrorDialog();
int PS4_SYSV_ABI sceShellCoreUtilShowErrorDialog();
int PS4_SYSV_ABI sceShellCoreUtilShowErrorDialogWithFormatArgs();
int PS4_SYSV_ABI sceShellCoreUtilShowErrorDialogWithParam();
int PS4_SYSV_ABI sceShellCoreUtilShowPsUnderLockIndicator();
int PS4_SYSV_ABI sceShellCoreUtilSignalUserInput();
int PS4_SYSV_ABI sceShellCoreUtilStartOptimization();
int PS4_SYSV_ABI sceShellCoreUtilStartPsNowGame();
int PS4_SYSV_ABI sceShellCoreUtilStopOptimization();
int PS4_SYSV_ABI sceShellCoreUtilStopPsNowGame();
int PS4_SYSV_ABI sceShellCoreUtilTestBusTransferSpeed();
int PS4_SYSV_ABI sceShellCoreUtilTickHeartBeat();
int PS4_SYSV_ABI sceShellCoreUtilTriggerPapcRecalculation();
int PS4_SYSV_ABI sceShellCoreUtilTriggerPapcUpdate();
int PS4_SYSV_ABI sceShellCoreUtilTurnOffScreenSaver();
int PS4_SYSV_ABI sceShellCoreUtilUnmountAppRight();
int PS4_SYSV_ABI sceShellCoreUtilUnmountDownloadDataForShellUI();
int PS4_SYSV_ABI sceShellCoreUtilUnmountHddForBackup();
int PS4_SYSV_ABI sceShellCoreUtilUnmountHddForRestore();
int PS4_SYSV_ABI sceShellCoreUtilWriteSmrHddDummyData();
int PS4_SYSV_ABI Func_1E5CA5A71FA7F028();
int PS4_SYSV_ABI Func_6D43644F75C38346();
int PS4_SYSV_ABI Func_739FB849CB28F445();
int PS4_SYSV_ABI Func_B20628FF35C74111();
int PS4_SYSV_ABI sceSystemServiceAddLocalProcessForJvm();
int PS4_SYSV_ABI sceSystemServiceGetParentSocketForJvm();
int PS4_SYSV_ABI sceSystemServiceKillLocalProcessForJvm();
int PS4_SYSV_ABI sceSystemServiceAcquireFb0();
int PS4_SYSV_ABI sceSystemServiceAddLocalProcess();
int PS4_SYSV_ABI sceSystemServiceAddLocalProcessForPsmKit();
int PS4_SYSV_ABI sceSystemServiceChangeAcpClock();
int PS4_SYSV_ABI sceSystemServiceChangeCpuClock();
int PS4_SYSV_ABI sceSystemServiceChangeGpuClock();
int PS4_SYSV_ABI sceSystemServiceChangeMemoryClock();
int PS4_SYSV_ABI sceSystemServiceChangeMemoryClockToBaseMode();
int PS4_SYSV_ABI sceSystemServiceChangeMemoryClockToDefault();
int PS4_SYSV_ABI sceSystemServiceChangeMemoryClockToMultiMediaMode();
int PS4_SYSV_ABI sceSystemServiceChangeNumberOfGpuCu();
int PS4_SYSV_ABI sceSystemServiceChangeSamuClock();
int PS4_SYSV_ABI sceSystemServiceChangeUvdClock();
int PS4_SYSV_ABI sceSystemServiceChangeVceClock();
int PS4_SYSV_ABI sceSystemServiceDisableMusicPlayer();
int PS4_SYSV_ABI sceSystemServiceDisablePersonalEyeToEyeDistanceSetting();
int PS4_SYSV_ABI sceSystemServiceDisableSuspendConfirmationDialog();
int PS4_SYSV_ABI sceSystemServiceEnablePersonalEyeToEyeDistanceSetting();
int PS4_SYSV_ABI sceSystemServiceEnableSuspendConfirmationDialog();
int PS4_SYSV_ABI sceSystemServiceGetAppFocusedAppStatus();
int PS4_SYSV_ABI sceSystemServiceGetAppIdOfBigApp();
int PS4_SYSV_ABI sceSystemServiceGetAppIdOfMiniApp();
int PS4_SYSV_ABI sceSystemServiceGetAppStatus();
int PS4_SYSV_ABI sceSystemServiceGetAppType();
s32 PS4_SYSV_ABI
sceSystemServiceGetDisplaySafeAreaInfo(OrbisSystemServiceDisplaySafeAreaInfo* info);
int PS4_SYSV_ABI sceSystemServiceGetEventForDaemon();
int PS4_SYSV_ABI sceSystemServiceGetGpuLoadEmulationMode();
int PS4_SYSV_ABI sceSystemServiceGetHdrToneMapLuminance();
int PS4_SYSV_ABI sceSystemServiceGetLocalProcessStatusList();
int PS4_SYSV_ABI sceSystemServiceGetParentSocket();
int PS4_SYSV_ABI sceSystemServiceGetParentSocketForPsmKit();
int PS4_SYSV_ABI sceSystemServiceGetPSButtonEvent();
int PS4_SYSV_ABI sceSystemServiceGetRenderingMode();
s32 PS4_SYSV_ABI sceSystemServiceGetStatus(OrbisSystemServiceStatus* status);
int PS4_SYSV_ABI sceSystemServiceGetTitleWorkaroundInfo();
int PS4_SYSV_ABI sceSystemServiceGetVersionNumberOfCameraCalibrationData();
s32 PS4_SYSV_ABI sceSystemServiceHideSplashScreen();
int PS4_SYSV_ABI sceSystemServiceIsAppSuspended();
int PS4_SYSV_ABI sceSystemServiceIsBgmPlaying();
int PS4_SYSV_ABI sceSystemServiceIsEyeToEyeDistanceAdjusted();
int PS4_SYSV_ABI sceSystemServiceIsScreenSaverOn();
int PS4_SYSV_ABI sceSystemServiceIsShellUiFgAndGameBgCpuMode();
int PS4_SYSV_ABI sceSystemServiceKillApp();
int PS4_SYSV_ABI sceSystemServiceKillLocalProcess();
int PS4_SYSV_ABI sceSystemServiceKillLocalProcessForPsmKit();
int PS4_SYSV_ABI sceSystemServiceLaunchApp();
int PS4_SYSV_ABI sceSystemServiceLaunchEventDetails();
int PS4_SYSV_ABI sceSystemServiceLaunchTournamentList();
int PS4_SYSV_ABI sceSystemServiceLaunchTournamentsTeamProfile();
int PS4_SYSV_ABI sceSystemServiceLaunchWebBrowser();
int PS4_SYSV_ABI sceSystemServiceLoadExec();
int PS4_SYSV_ABI sceSystemServiceNavigateToAnotherApp();
int PS4_SYSV_ABI sceSystemServiceNavigateToGoBack();
int PS4_SYSV_ABI sceSystemServiceNavigateToGoBackWithValue();
int PS4_SYSV_ABI sceSystemServiceNavigateToGoHome();
s32 PS4_SYSV_ABI sceSystemServiceParamGetInt(int param_id, int* value);
int PS4_SYSV_ABI sceSystemServiceParamGetString();
int PS4_SYSV_ABI sceSystemServicePowerTick();
int PS4_SYSV_ABI sceSystemServiceRaiseExceptionLocalProcess();
int PS4_SYSV_ABI sceSystemServiceReceiveEvent();
int PS4_SYSV_ABI sceSystemServiceReenableMusicPlayer();
int PS4_SYSV_ABI sceSystemServiceRegisterDaemon();
int PS4_SYSV_ABI sceSystemServiceReleaseFb0();
int PS4_SYSV_ABI sceSystemServiceReportAbnormalTermination();
int PS4_SYSV_ABI sceSystemServiceRequestCameraCalibration();
int PS4_SYSV_ABI sceSystemServiceRequestToChangeRenderingMode();
int PS4_SYSV_ABI sceSystemServiceResumeLocalProcess();
int PS4_SYSV_ABI sceSystemServiceSetControllerFocusPermission();
int PS4_SYSV_ABI sceSystemServiceSetGpuLoadEmulationMode();
int PS4_SYSV_ABI sceSystemServiceSetOutOfVrPlayAreaFlag();
int PS4_SYSV_ABI sceSystemServiceSetOutOfVrPlayZoneWarning();
int PS4_SYSV_ABI sceSystemServiceShowControllerSettings();
int PS4_SYSV_ABI sceSystemServiceShowDisplaySafeAreaSettings();
int PS4_SYSV_ABI sceSystemServiceShowEyeToEyeDistanceSetting();
int PS4_SYSV_ABI sceSystemServiceSuspendBackgroundApp();
int PS4_SYSV_ABI sceSystemServiceSuspendLocalProcess();
int PS4_SYSV_ABI sceSystemServiceTickVideoPlayback();
int PS4_SYSV_ABI sceSystemServiceTurnOffScreenSaver();
int PS4_SYSV_ABI Func_9031A344CB540F1A();
int PS4_SYSV_ABI Func_A9D4CF2568EAB837();
int PS4_SYSV_ABI sceSystemServiceLaunchWebApp();
int PS4_SYSV_ABI Func_B8495C766861FDCF();
int PS4_SYSV_ABI sceSystemServiceGetDbgExecutablePath();
int PS4_SYSV_ABI sceSystemServiceActivateHevc();
int PS4_SYSV_ABI sceSystemServiceActivateHevcAbort();
int PS4_SYSV_ABI sceSystemServiceActivateHevcGetStatus();
int PS4_SYSV_ABI sceSystemServiceActivateHevcInit();
int PS4_SYSV_ABI sceSystemServiceActivateHevcIsActivated();
int PS4_SYSV_ABI sceSystemServiceActivateHevcStart();
int PS4_SYSV_ABI sceSystemServiceActivateHevcTerm();
int PS4_SYSV_ABI sceSystemServiceActivateMpeg2Abort();
int PS4_SYSV_ABI sceSystemServiceActivateMpeg2GetStatus();
int PS4_SYSV_ABI sceSystemServiceActivateMpeg2Init();
int PS4_SYSV_ABI sceSystemServiceActivateMpeg2IsActivated();
int PS4_SYSV_ABI sceSystemServiceActivateMpeg2Start();
int PS4_SYSV_ABI sceSystemServiceActivateMpeg2Term();
int PS4_SYSV_ABI sceSystemStateMgrCancelShutdownTimer();
int PS4_SYSV_ABI sceSystemStateMgrEnterMediaPlaybackMode();
int PS4_SYSV_ABI sceSystemStateMgrEnterStandby();
int PS4_SYSV_ABI sceSystemStateMgrExtendShutdownTimer();
int PS4_SYSV_ABI sceSystemStateMgrExtendShutdownTimerForPostAutoUpdateProcess();
int PS4_SYSV_ABI sceSystemStateMgrGetCurrentState();
int PS4_SYSV_ABI sceSystemStateMgrGetTriggerCode();
int PS4_SYSV_ABI sceSystemStateMgrIsBdDriveReady();
int PS4_SYSV_ABI sceSystemStateMgrIsGpuPerformanceNormal();
int PS4_SYSV_ABI sceSystemStateMgrIsShellUIShutdownInProgress();
int PS4_SYSV_ABI sceSystemStateMgrIsStandbyModeEnabled();
int PS4_SYSV_ABI sceSystemStateMgrLeaveMediaPlaybackMode();
int PS4_SYSV_ABI sceSystemStateMgrNotifySystemSuspendResumeProgress();
int PS4_SYSV_ABI sceSystemStateMgrReboot();
int PS4_SYSV_ABI sceSystemStateMgrSendCecOneTouchPlayCommand();
int PS4_SYSV_ABI sceSystemStateMgrStartRebootTimer();
int PS4_SYSV_ABI sceSystemStateMgrStartShutdownTimer();
int PS4_SYSV_ABI sceSystemStateMgrStartStadbyTimer();
int PS4_SYSV_ABI sceSystemStateMgrStartVshAutoUpdateTimer();
int PS4_SYSV_ABI sceSystemStateMgrTickMusicPlayback();
int PS4_SYSV_ABI sceSystemStateMgrTickPartyChat();
int PS4_SYSV_ABI sceSystemStateMgrTurnOff();
int PS4_SYSV_ABI sceSystemStateMgrVshAutoUpdate();
int PS4_SYSV_ABI sceSystemStateMgrWaitVshAutoUpdateVerifyDone();
int PS4_SYSV_ABI sceSystemStateMgrWakeUp();
int PS4_SYSV_ABI Func_89F262179C22B49E();
int PS4_SYSV_ABI Func_AC8A8FAB4A1696B8();
int PS4_SYSV_ABI sceSystemServiceInvokeAppLaunchLink();
int PS4_SYSV_ABI sceSystemServiceShowClosedCaptionAdvancedSettings();
int PS4_SYSV_ABI sceSystemServiceShowClosedCaptionSettings();
int PS4_SYSV_ABI sceSystemServiceSetPowerSaveLevel();
int PS4_SYSV_ABI sceSystemServiceInitializeForShellCore();
int PS4_SYSV_ABI Func_7C1183FC73629929();
int PS4_SYSV_ABI sceSystemServiceDisablePartyVoice();
int PS4_SYSV_ABI sceSystemServiceReenablePartyVoice();
int PS4_SYSV_ABI sceSystemServiceGetPlatformPrivacyDefinitionData();
int PS4_SYSV_ABI sceSystemServiceGetPlatformPrivacyDefinitionVersion();
int PS4_SYSV_ABI sceSystemServiceGetPlatformPrivacySetting();
int PS4_SYSV_ABI sceSystemServiceDeclareReadyForSuspend();
int PS4_SYSV_ABI sceSystemServiceDisableSuspendNotification();
int PS4_SYSV_ABI sceSystemServiceEnableSuspendNotification();
int PS4_SYSV_ABI sceSystemServiceRequestPowerOff();
int PS4_SYSV_ABI sceSystemServiceRequestReboot();
int PS4_SYSV_ABI sceSystemServiceAddLocalProcessForPs2Emu();
int PS4_SYSV_ABI sceSystemServiceGetParentSocketForPs2Emu();
int PS4_SYSV_ABI sceSystemServiceKillLocalProcessForPs2Emu();
int PS4_SYSV_ABI sceSystemServiceShowImposeMenuForPs2Emu();
int PS4_SYSV_ABI sceSystemServiceSaveVideoToken();
int PS4_SYSV_ABI sceSystemServiceLaunchStore();
int PS4_SYSV_ABI sceSystemServiceTelemetrySetData();
int PS4_SYSV_ABI Func_C67FC780F5B6F71E();
int PS4_SYSV_ABI sceSystemServiceLaunchUdsApp();
int PS4_SYSV_ABI sceSystemServiceLoadExecVideoServiceWebApp();
int PS4_SYSV_ABI sceSystemServiceDisableVoiceRecognition();
int PS4_SYSV_ABI sceSystemServiceReenableVoiceRecognition();
int PS4_SYSV_ABI Func_6B1CDB955F0EBD65();
int PS4_SYSV_ABI Func_CB5E885E225F69F0();
void RegisterlibSceSystemService(Core::Loader::SymbolsResolver* sym);
} // namespace Libraries::SystemService

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,481 @@
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
// reference :
// https://github.com/OpenOrbis/OpenOrbis-PS4-Toolchain/blob/master/include/orbis/_types/user.h
#pragma once
#include "library_common.h"
namespace Libraries::UserService {
// Maximum number of users that can be logged in at once
constexpr int ORBIS_USER_SERVICE_MAX_LOGIN_USERS = 4;
// Maximum number of users that can be registered in the system
constexpr int ORBIS_USER_SERVICE_MAX_REGISTER_USERS = 16;
// Maximum user name length
constexpr int ORBIS_USER_SERVICE_MAX_USER_NAME_LENGTH = 16;
constexpr int ORBIS_USER_SERVICE_USER_ID_SYSTEM = 0xFF;
constexpr int ORBIS_USER_SERVICE_USER_ID_INVALID = -1;
using OrbisUserServiceUserId = s32;
constexpr int ORBIS_KERNEL_PRIO_FIFO_LOWEST = 0x2FF;
constexpr int ORBIS_KERNEL_PRIO_FIFO_NORMAL = 0x2BC;
constexpr int ORBIS_KERNEL_PRIO_FIFO_HIGHEST = 0x100;
struct OrbisUserServiceInitializeParams {
s32 priority;
};
struct OrbisUserServiceLoginUserIdList {
int user_id[ORBIS_USER_SERVICE_MAX_LOGIN_USERS];
};
struct OrbisUserServiceRegisteredUserIdList {
OrbisUserServiceUserId userId[ORBIS_USER_SERVICE_MAX_REGISTER_USERS];
};
enum OrbisUserServiceUserColor {
ORBIS_USER_SERVICE_USER_COLOR_BLUE = 0,
ORBIS_USER_SERVICE_USER_COLOR_RED = 1,
ORBIS_USER_SERVICE_USER_COLOR_GREEN = 2,
ORBIS_USER_SERVICE_USER_COLOR_PINK = 3,
};
enum OrbisUserServiceEventType {
SCE_USER_SERVICE_EVENT_TYPE_LOGIN = 0, // Login event
SCE_USER_SERVICE_EVENT_TYPE_LOGOUT = 1, // Logout event
};
struct OrbisUserServiceEvent {
OrbisUserServiceEventType event;
OrbisUserServiceUserId userId;
};
int PS4_SYSV_ABI sceUserServiceInitializeForShellCore();
int PS4_SYSV_ABI sceUserServiceTerminateForShellCore();
int PS4_SYSV_ABI sceUserServiceDestroyUser();
int PS4_SYSV_ABI sceUserServiceGetAccessibilityKeyremapData();
int PS4_SYSV_ABI sceUserServiceGetAccessibilityKeyremapEnable();
int PS4_SYSV_ABI sceUserServiceGetAccessibilityPressAndHoldDelay();
int PS4_SYSV_ABI sceUserServiceGetAccessibilityVibration();
int PS4_SYSV_ABI sceUserServiceGetAccessibilityZoom();
int PS4_SYSV_ABI sceUserServiceGetAccessibilityZoomEnabled();
int PS4_SYSV_ABI sceUserServiceGetAccountRemarks();
int PS4_SYSV_ABI sceUserServiceGetAgeVerified();
int PS4_SYSV_ABI sceUserServiceGetAppearOfflineSetting();
int PS4_SYSV_ABI sceUserServiceGetAppSortOrder();
int PS4_SYSV_ABI sceUserServiceGetAutoLoginEnabled();
int PS4_SYSV_ABI sceUserServiceGetCreatedVersion();
int PS4_SYSV_ABI sceUserServiceGetCurrentUserGroupIndex();
int PS4_SYSV_ABI sceUserServiceGetDefaultNewUserGroupName();
int PS4_SYSV_ABI sceUserServiceGetDeletedUserInfo();
int PS4_SYSV_ABI sceUserServiceGetDiscPlayerFlag();
int PS4_SYSV_ABI sceUserServiceGetEvent();
int PS4_SYSV_ABI sceUserServiceGetEventCalendarType();
int PS4_SYSV_ABI sceUserServiceGetEventFilterTeamEvent();
int PS4_SYSV_ABI sceUserServiceGetEventSortEvent();
int PS4_SYSV_ABI sceUserServiceGetEventSortTitle();
int PS4_SYSV_ABI sceUserServiceGetEventUiFlag();
int PS4_SYSV_ABI sceUserServiceGetEventVsh();
int PS4_SYSV_ABI sceUserServiceGetFaceRecognitionDeleteCount();
int PS4_SYSV_ABI sceUserServiceGetFaceRecognitionRegisterCount();
int PS4_SYSV_ABI sceUserServiceGetFileBrowserFilter();
int PS4_SYSV_ABI sceUserServiceGetFileBrowserSortContent();
int PS4_SYSV_ABI sceUserServiceGetFileBrowserSortTitle();
int PS4_SYSV_ABI sceUserServiceGetFileSelectorFilter();
int PS4_SYSV_ABI sceUserServiceGetFileSelectorSortContent();
int PS4_SYSV_ABI sceUserServiceGetFileSelectorSortTitle();
int PS4_SYSV_ABI sceUserServiceGetForegroundUser();
int PS4_SYSV_ABI sceUserServiceGetFriendCustomListLastFocus();
int PS4_SYSV_ABI sceUserServiceGetFriendFlag();
int PS4_SYSV_ABI sceUserServiceGetGlsAccessTokenNiconicoLive();
int PS4_SYSV_ABI sceUserServiceGetGlsAccessTokenTwitch();
int PS4_SYSV_ABI sceUserServiceGetGlsAccessTokenUstream();
int PS4_SYSV_ABI sceUserServiceGetGlsAnonymousUserId();
int PS4_SYSV_ABI sceUserServiceGetGlsBcTags();
int PS4_SYSV_ABI sceUserServiceGetGlsBcTitle();
int PS4_SYSV_ABI sceUserServiceGetGlsBroadcastChannel();
int PS4_SYSV_ABI sceUserServiceGetGlsBroadcastersComment();
int PS4_SYSV_ABI sceUserServiceGetGlsBroadcastersCommentColor();
int PS4_SYSV_ABI sceUserServiceGetGlsBroadcastService();
int PS4_SYSV_ABI sceUserServiceGetGlsBroadcastUiLayout();
int PS4_SYSV_ABI sceUserServiceGetGlsCamCrop();
int PS4_SYSV_ABI sceUserServiceGetGlsCameraBgFilter();
int PS4_SYSV_ABI sceUserServiceGetGlsCameraBrightness();
int PS4_SYSV_ABI sceUserServiceGetGlsCameraChromaKeyLevel();
int PS4_SYSV_ABI sceUserServiceGetGlsCameraContrast();
int PS4_SYSV_ABI sceUserServiceGetGlsCameraDepthLevel();
int PS4_SYSV_ABI sceUserServiceGetGlsCameraEdgeLevel();
int PS4_SYSV_ABI sceUserServiceGetGlsCameraEffect();
int PS4_SYSV_ABI sceUserServiceGetGlsCameraEliminationLevel();
int PS4_SYSV_ABI sceUserServiceGetGlsCameraPosition();
int PS4_SYSV_ABI sceUserServiceGetGlsCameraReflection();
int PS4_SYSV_ABI sceUserServiceGetGlsCameraSize();
int PS4_SYSV_ABI sceUserServiceGetGlsCameraTransparency();
int PS4_SYSV_ABI sceUserServiceGetGlsCommunityId();
int PS4_SYSV_ABI sceUserServiceGetGlsFloatingMessage();
int PS4_SYSV_ABI sceUserServiceGetGlsHintFlag();
int PS4_SYSV_ABI sceUserServiceGetGlsInitSpectating();
int PS4_SYSV_ABI sceUserServiceGetGlsIsCameraHidden();
int PS4_SYSV_ABI sceUserServiceGetGlsIsFacebookEnabled();
int PS4_SYSV_ABI sceUserServiceGetGlsIsMuteEnabled();
int PS4_SYSV_ABI sceUserServiceGetGlsIsRecDisabled();
int PS4_SYSV_ABI sceUserServiceGetGlsIsRecievedMessageHidden();
int PS4_SYSV_ABI sceUserServiceGetGlsIsTwitterEnabled();
int PS4_SYSV_ABI sceUserServiceGetGlsLanguageFilter();
int PS4_SYSV_ABI sceUserServiceGetGlsLfpsSortOrder();
int PS4_SYSV_ABI sceUserServiceGetGlsLiveQuality();
int PS4_SYSV_ABI sceUserServiceGetGlsLiveQuality2();
int PS4_SYSV_ABI sceUserServiceGetGlsLiveQuality3();
int PS4_SYSV_ABI sceUserServiceGetGlsLiveQuality4();
int PS4_SYSV_ABI sceUserServiceGetGlsLiveQuality5();
int PS4_SYSV_ABI sceUserServiceGetGlsMessageFilterLevel();
int PS4_SYSV_ABI sceUserServiceGetGlsTtsFlags();
int PS4_SYSV_ABI sceUserServiceGetGlsTtsPitch();
int PS4_SYSV_ABI sceUserServiceGetGlsTtsSpeed();
int PS4_SYSV_ABI sceUserServiceGetGlsTtsVolume();
int PS4_SYSV_ABI sceUserServiceGetHmuBrightness();
int PS4_SYSV_ABI sceUserServiceGetHmuZoom();
int PS4_SYSV_ABI sceUserServiceGetHoldAudioOutDevice();
int PS4_SYSV_ABI sceUserServiceGetHomeDirectory();
int PS4_SYSV_ABI sceUserServiceGetImeAutoCapitalEnabled();
int PS4_SYSV_ABI sceUserServiceGetImeInitFlag();
int PS4_SYSV_ABI sceUserServiceGetImeInputType();
int PS4_SYSV_ABI sceUserServiceGetImeLastUnit();
int PS4_SYSV_ABI sceUserServiceGetImePointerMode();
int PS4_SYSV_ABI sceUserServiceGetImePredictiveTextEnabled();
int PS4_SYSV_ABI sceUserServiceGetImeRunCount();
s32 PS4_SYSV_ABI sceUserServiceGetInitialUser(int* user_id);
int PS4_SYSV_ABI sceUserServiceGetIPDLeft();
int PS4_SYSV_ABI sceUserServiceGetIPDRight();
int PS4_SYSV_ABI sceUserServiceGetIsFakePlus();
int PS4_SYSV_ABI sceUserServiceGetIsQuickSignup();
int PS4_SYSV_ABI sceUserServiceGetIsRemotePlayAllowed();
int PS4_SYSV_ABI sceUserServiceGetJapaneseInputType();
int PS4_SYSV_ABI sceUserServiceGetKeyboardType();
int PS4_SYSV_ABI sceUserServiceGetKeyRepeatSpeed();
int PS4_SYSV_ABI sceUserServiceGetKeyRepeatStartingTime();
int PS4_SYSV_ABI sceUserServiceGetKratosPrimaryUser();
int PS4_SYSV_ABI sceUserServiceGetLastLoginOrder();
int PS4_SYSV_ABI sceUserServiceGetLightBarBaseBrightness();
int PS4_SYSV_ABI sceUserServiceGetLoginFlag();
s32 PS4_SYSV_ABI sceUserServiceGetLoginUserIdList(OrbisUserServiceLoginUserIdList* userIdList);
int PS4_SYSV_ABI sceUserServiceGetMicLevel();
int PS4_SYSV_ABI sceUserServiceGetMouseHandType();
int PS4_SYSV_ABI sceUserServiceGetMousePointerSpeed();
int PS4_SYSV_ABI sceUserServiceGetNotificationBehavior();
int PS4_SYSV_ABI sceUserServiceGetNotificationSettings();
int PS4_SYSV_ABI sceUserServiceGetNpAccountId();
int PS4_SYSV_ABI sceUserServiceGetNpAccountUpgradeFlag();
int PS4_SYSV_ABI sceUserServiceGetNpAge();
int PS4_SYSV_ABI sceUserServiceGetNpAuthErrorFlag();
int PS4_SYSV_ABI sceUserServiceGetNpCountryCode();
int PS4_SYSV_ABI sceUserServiceGetNpDateOfBirth();
int PS4_SYSV_ABI sceUserServiceGetNpEnv();
int PS4_SYSV_ABI sceUserServiceGetNpLanguageCode();
int PS4_SYSV_ABI sceUserServiceGetNpLanguageCode2();
int PS4_SYSV_ABI sceUserServiceGetNpLoginId();
int PS4_SYSV_ABI sceUserServiceGetNpMAccountId();
int PS4_SYSV_ABI sceUserServiceGetNpNpId();
int PS4_SYSV_ABI sceUserServiceGetNpOfflineAccountAdult();
int PS4_SYSV_ABI sceUserServiceGetNpOfflineAccountId();
int PS4_SYSV_ABI sceUserServiceGetNpOnlineId();
int PS4_SYSV_ABI sceUserServiceGetNpSubAccount();
int PS4_SYSV_ABI sceUserServiceGetPadSpeakerVolume();
int PS4_SYSV_ABI sceUserServiceGetParentalBdAge();
int PS4_SYSV_ABI sceUserServiceGetParentalBrowser();
int PS4_SYSV_ABI sceUserServiceGetParentalDvd();
int PS4_SYSV_ABI sceUserServiceGetParentalDvdRegion();
int PS4_SYSV_ABI sceUserServiceGetParentalGame();
int PS4_SYSV_ABI sceUserServiceGetParentalGameAgeLevel();
int PS4_SYSV_ABI sceUserServiceGetParentalMorpheus();
int PS4_SYSV_ABI sceUserServiceGetPartyMuteList();
int PS4_SYSV_ABI sceUserServiceGetPartyMuteListA();
int PS4_SYSV_ABI sceUserServiceGetPartySettingFlags();
int PS4_SYSV_ABI sceUserServiceGetPasscode();
int PS4_SYSV_ABI sceUserServiceGetPbtcAdditionalTime();
int PS4_SYSV_ABI sceUserServiceGetPbtcFlag();
int PS4_SYSV_ABI sceUserServiceGetPbtcFridayDuration();
int PS4_SYSV_ABI sceUserServiceGetPbtcFridayHoursEnd();
int PS4_SYSV_ABI sceUserServiceGetPbtcFridayHoursStart();
int PS4_SYSV_ABI sceUserServiceGetPbtcMode();
int PS4_SYSV_ABI sceUserServiceGetPbtcMondayDuration();
int PS4_SYSV_ABI sceUserServiceGetPbtcMondayHoursEnd();
int PS4_SYSV_ABI sceUserServiceGetPbtcMondayHoursStart();
int PS4_SYSV_ABI sceUserServiceGetPbtcPlayTime();
int PS4_SYSV_ABI sceUserServiceGetPbtcPlayTimeLastUpdated();
int PS4_SYSV_ABI sceUserServiceGetPbtcSaturdayDuration();
int PS4_SYSV_ABI sceUserServiceGetPbtcSaturdayHoursEnd();
int PS4_SYSV_ABI sceUserServiceGetPbtcSaturdayHoursStart();
int PS4_SYSV_ABI sceUserServiceGetPbtcSundayDuration();
int PS4_SYSV_ABI sceUserServiceGetPbtcSundayHoursEnd();
int PS4_SYSV_ABI sceUserServiceGetPbtcSundayHoursStart();
int PS4_SYSV_ABI sceUserServiceGetPbtcThursdayDuration();
int PS4_SYSV_ABI sceUserServiceGetPbtcThursdayHoursEnd();
int PS4_SYSV_ABI sceUserServiceGetPbtcThursdayHoursStart();
int PS4_SYSV_ABI sceUserServiceGetPbtcTuesdayDuration();
int PS4_SYSV_ABI sceUserServiceGetPbtcTuesdayHoursEnd();
int PS4_SYSV_ABI sceUserServiceGetPbtcTuesdayHoursStart();
int PS4_SYSV_ABI sceUserServiceGetPbtcTzOffset();
int PS4_SYSV_ABI sceUserServiceGetPbtcWednesdayDuration();
int PS4_SYSV_ABI sceUserServiceGetPbtcWednesdayHoursEnd();
int PS4_SYSV_ABI sceUserServiceGetPbtcWednesdayHoursStart();
int PS4_SYSV_ABI sceUserServiceGetPlayTogetherFlags();
int PS4_SYSV_ABI sceUserServiceGetPsnPasswordForDebug();
int PS4_SYSV_ABI sceUserServiceGetRegisteredHomeUserIdList();
int PS4_SYSV_ABI sceUserServiceGetRegisteredUserIdList();
int PS4_SYSV_ABI sceUserServiceGetSaveDataAutoUpload();
int PS4_SYSV_ABI sceUserServiceGetSaveDataSort();
int PS4_SYSV_ABI sceUserServiceGetSaveDataTutorialFlag();
int PS4_SYSV_ABI sceUserServiceGetSecureHomeDirectory();
int PS4_SYSV_ABI sceUserServiceGetShareButtonAssign();
int PS4_SYSV_ABI sceUserServiceGetShareDailymotionAccessToken();
int PS4_SYSV_ABI sceUserServiceGetShareDailymotionRefreshToken();
int PS4_SYSV_ABI sceUserServiceGetSharePlayFlags();
int PS4_SYSV_ABI sceUserServiceGetSharePlayFramerateHost();
int PS4_SYSV_ABI sceUserServiceGetSharePlayResolutionHost();
int PS4_SYSV_ABI sceUserServiceGetShareStatus();
int PS4_SYSV_ABI sceUserServiceGetShareStatus2();
int PS4_SYSV_ABI sceUserServiceGetSystemLoggerHashedAccountId();
int PS4_SYSV_ABI sceUserServiceGetSystemLoggerHashedAccountIdClockType();
int PS4_SYSV_ABI sceUserServiceGetSystemLoggerHashedAccountIdParam();
int PS4_SYSV_ABI sceUserServiceGetSystemLoggerHashedAccountIdTtl();
int PS4_SYSV_ABI sceUserServiceGetTeamShowAboutTeam();
int PS4_SYSV_ABI sceUserServiceGetThemeBgImageDimmer();
int PS4_SYSV_ABI sceUserServiceGetThemeBgImageWaveColor();
int PS4_SYSV_ABI sceUserServiceGetThemeBgImageZoom();
int PS4_SYSV_ABI sceUserServiceGetThemeEntitlementId();
int PS4_SYSV_ABI sceUserServiceGetThemeHomeShareOwner();
int PS4_SYSV_ABI sceUserServiceGetThemeTextShadow();
int PS4_SYSV_ABI sceUserServiceGetThemeWaveColor();
int PS4_SYSV_ABI sceUserServiceGetTopMenuLimitItem();
int PS4_SYSV_ABI sceUserServiceGetTopMenuNotificationFlag();
int PS4_SYSV_ABI sceUserServiceGetTopMenuTutorialFlag();
int PS4_SYSV_ABI sceUserServiceGetTraditionalChineseInputType();
s32 PS4_SYSV_ABI sceUserServiceGetUserColor(int user_id, int* color);
int PS4_SYSV_ABI sceUserServiceGetUserGroupName();
int PS4_SYSV_ABI sceUserServiceGetUserGroupNameList();
int PS4_SYSV_ABI sceUserServiceGetUserGroupNum();
s32 PS4_SYSV_ABI sceUserServiceGetUserName(int user_id, char* user_name, std::size_t size);
int PS4_SYSV_ABI sceUserServiceGetUserStatus();
int PS4_SYSV_ABI sceUserServiceGetVibrationEnabled();
int PS4_SYSV_ABI sceUserServiceGetVoiceRecognitionLastUsedOsk();
int PS4_SYSV_ABI sceUserServiceGetVoiceRecognitionTutorialState();
int PS4_SYSV_ABI sceUserServiceGetVolumeForController();
int PS4_SYSV_ABI sceUserServiceGetVolumeForGenericUSB();
int PS4_SYSV_ABI sceUserServiceGetVolumeForMorpheusSidetone();
int PS4_SYSV_ABI sceUserServiceGetVolumeForSidetone();
s32 PS4_SYSV_ABI sceUserServiceInitialize(const OrbisUserServiceInitializeParams* initParams);
int PS4_SYSV_ABI sceUserServiceInitialize2();
int PS4_SYSV_ABI sceUserServiceIsGuestUser();
int PS4_SYSV_ABI sceUserServiceIsKratosPrimaryUser();
int PS4_SYSV_ABI sceUserServiceIsKratosUser();
int PS4_SYSV_ABI sceUserServiceIsLoggedIn();
int PS4_SYSV_ABI sceUserServiceIsLoggedInWithoutLock();
int PS4_SYSV_ABI sceUserServiceIsSharePlayClientUser();
int PS4_SYSV_ABI sceUserServiceIsUserStorageAccountBound();
int PS4_SYSV_ABI sceUserServiceLogin();
int PS4_SYSV_ABI sceUserServiceLogout();
int PS4_SYSV_ABI sceUserServiceRegisterEventCallback();
int PS4_SYSV_ABI sceUserServiceSetAccessibilityKeyremapData();
int PS4_SYSV_ABI sceUserServiceSetAccessibilityKeyremapEnable();
int PS4_SYSV_ABI sceUserServiceSetAccessibilityZoom();
int PS4_SYSV_ABI sceUserServiceSetAccountRemarks();
int PS4_SYSV_ABI sceUserServiceSetAgeVerified();
int PS4_SYSV_ABI sceUserServiceSetAppearOfflineSetting();
int PS4_SYSV_ABI sceUserServiceSetAppSortOrder();
int PS4_SYSV_ABI sceUserServiceSetAutoLoginEnabled();
int PS4_SYSV_ABI sceUserServiceSetCreatedVersion();
int PS4_SYSV_ABI sceUserServiceSetDiscPlayerFlag();
int PS4_SYSV_ABI sceUserServiceSetEventCalendarType();
int PS4_SYSV_ABI sceUserServiceSetEventFilterTeamEvent();
int PS4_SYSV_ABI sceUserServiceSetEventSortEvent();
int PS4_SYSV_ABI sceUserServiceSetEventSortTitle();
int PS4_SYSV_ABI sceUserServiceSetEventUiFlag();
int PS4_SYSV_ABI sceUserServiceSetFaceRecognitionDeleteCount();
int PS4_SYSV_ABI sceUserServiceSetFaceRecognitionRegisterCount();
int PS4_SYSV_ABI sceUserServiceSetFileBrowserFilter();
int PS4_SYSV_ABI sceUserServiceSetFileBrowserSortContent();
int PS4_SYSV_ABI sceUserServiceSetFileBrowserSortTitle();
int PS4_SYSV_ABI sceUserServiceSetFileSelectorFilter();
int PS4_SYSV_ABI sceUserServiceSetFileSelectorSortContent();
int PS4_SYSV_ABI sceUserServiceSetFileSelectorSortTitle();
int PS4_SYSV_ABI sceUserServiceSetForegroundUser();
int PS4_SYSV_ABI sceUserServiceSetFriendCustomListLastFocus();
int PS4_SYSV_ABI sceUserServiceSetFriendFlag();
int PS4_SYSV_ABI sceUserServiceSetGlsAccessTokenNiconicoLive();
int PS4_SYSV_ABI sceUserServiceSetGlsAccessTokenTwitch();
int PS4_SYSV_ABI sceUserServiceSetGlsAccessTokenUstream();
int PS4_SYSV_ABI sceUserServiceSetGlsAnonymousUserId();
int PS4_SYSV_ABI sceUserServiceSetGlsBcTags();
int PS4_SYSV_ABI sceUserServiceSetGlsBcTitle();
int PS4_SYSV_ABI sceUserServiceSetGlsBroadcastChannel();
int PS4_SYSV_ABI sceUserServiceSetGlsBroadcastersComment();
int PS4_SYSV_ABI sceUserServiceSetGlsBroadcastersCommentColor();
int PS4_SYSV_ABI sceUserServiceSetGlsBroadcastService();
int PS4_SYSV_ABI sceUserServiceSetGlsBroadcastUiLayout();
int PS4_SYSV_ABI sceUserServiceSetGlsCamCrop();
int PS4_SYSV_ABI sceUserServiceSetGlsCameraBgFilter();
int PS4_SYSV_ABI sceUserServiceSetGlsCameraBrightness();
int PS4_SYSV_ABI sceUserServiceSetGlsCameraChromaKeyLevel();
int PS4_SYSV_ABI sceUserServiceSetGlsCameraContrast();
int PS4_SYSV_ABI sceUserServiceSetGlsCameraDepthLevel();
int PS4_SYSV_ABI sceUserServiceSetGlsCameraEdgeLevel();
int PS4_SYSV_ABI sceUserServiceSetGlsCameraEffect();
int PS4_SYSV_ABI sceUserServiceSetGlsCameraEliminationLevel();
int PS4_SYSV_ABI sceUserServiceSetGlsCameraPosition();
int PS4_SYSV_ABI sceUserServiceSetGlsCameraReflection();
int PS4_SYSV_ABI sceUserServiceSetGlsCameraSize();
int PS4_SYSV_ABI sceUserServiceSetGlsCameraTransparency();
int PS4_SYSV_ABI sceUserServiceSetGlsCommunityId();
int PS4_SYSV_ABI sceUserServiceSetGlsFloatingMessage();
int PS4_SYSV_ABI sceUserServiceSetGlsHintFlag();
int PS4_SYSV_ABI sceUserServiceSetGlsInitSpectating();
int PS4_SYSV_ABI sceUserServiceSetGlsIsCameraHidden();
int PS4_SYSV_ABI sceUserServiceSetGlsIsFacebookEnabled();
int PS4_SYSV_ABI sceUserServiceSetGlsIsMuteEnabled();
int PS4_SYSV_ABI sceUserServiceSetGlsIsRecDisabled();
int PS4_SYSV_ABI sceUserServiceSetGlsIsRecievedMessageHidden();
int PS4_SYSV_ABI sceUserServiceSetGlsIsTwitterEnabled();
int PS4_SYSV_ABI sceUserServiceSetGlsLanguageFilter();
int PS4_SYSV_ABI sceUserServiceSetGlsLfpsSortOrder();
int PS4_SYSV_ABI sceUserServiceSetGlsLiveQuality();
int PS4_SYSV_ABI sceUserServiceSetGlsLiveQuality2();
int PS4_SYSV_ABI sceUserServiceSetGlsLiveQuality3();
int PS4_SYSV_ABI sceUserServiceSetGlsLiveQuality4();
int PS4_SYSV_ABI sceUserServiceSetGlsLiveQuality5();
int PS4_SYSV_ABI sceUserServiceSetGlsMessageFilterLevel();
int PS4_SYSV_ABI sceUserServiceSetGlsTtsFlags();
int PS4_SYSV_ABI sceUserServiceSetGlsTtsPitch();
int PS4_SYSV_ABI sceUserServiceSetGlsTtsSpeed();
int PS4_SYSV_ABI sceUserServiceSetGlsTtsVolume();
int PS4_SYSV_ABI sceUserServiceSetHmuBrightness();
int PS4_SYSV_ABI sceUserServiceSetHmuZoom();
int PS4_SYSV_ABI sceUserServiceSetHoldAudioOutDevice();
int PS4_SYSV_ABI sceUserServiceSetImeAutoCapitalEnabled();
int PS4_SYSV_ABI sceUserServiceSetImeInitFlag();
int PS4_SYSV_ABI sceUserServiceSetImeInputType();
int PS4_SYSV_ABI sceUserServiceSetImeLastUnit();
int PS4_SYSV_ABI sceUserServiceSetImePointerMode();
int PS4_SYSV_ABI sceUserServiceSetImePredictiveTextEnabled();
int PS4_SYSV_ABI sceUserServiceSetImeRunCount();
int PS4_SYSV_ABI sceUserServiceSetIPDLeft();
int PS4_SYSV_ABI sceUserServiceSetIPDRight();
int PS4_SYSV_ABI sceUserServiceSetIsFakePlus();
int PS4_SYSV_ABI sceUserServiceSetIsQuickSignup();
int PS4_SYSV_ABI sceUserServiceSetIsRemotePlayAllowed();
int PS4_SYSV_ABI sceUserServiceSetJapaneseInputType();
int PS4_SYSV_ABI sceUserServiceSetKeyboardType();
int PS4_SYSV_ABI sceUserServiceSetKeyRepeatSpeed();
int PS4_SYSV_ABI sceUserServiceSetKeyRepeatStartingTime();
int PS4_SYSV_ABI sceUserServiceSetLightBarBaseBrightness();
int PS4_SYSV_ABI sceUserServiceSetLoginFlag();
int PS4_SYSV_ABI sceUserServiceSetMicLevel();
int PS4_SYSV_ABI sceUserServiceSetMouseHandType();
int PS4_SYSV_ABI sceUserServiceSetMousePointerSpeed();
int PS4_SYSV_ABI sceUserServiceSetNotificationBehavior();
int PS4_SYSV_ABI sceUserServiceSetNotificationSettings();
int PS4_SYSV_ABI sceUserServiceSetNpAccountUpgradeFlag();
int PS4_SYSV_ABI sceUserServiceSetNpAge();
int PS4_SYSV_ABI sceUserServiceSetNpAuthErrorFlag();
int PS4_SYSV_ABI sceUserServiceSetNpCountryCode();
int PS4_SYSV_ABI sceUserServiceSetNpDateOfBirth();
int PS4_SYSV_ABI sceUserServiceSetNpEnv();
int PS4_SYSV_ABI sceUserServiceSetNpLanguageCode();
int PS4_SYSV_ABI sceUserServiceSetNpLanguageCode2();
int PS4_SYSV_ABI sceUserServiceSetNpLoginId();
int PS4_SYSV_ABI sceUserServiceSetNpMAccountId();
int PS4_SYSV_ABI sceUserServiceSetNpNpId();
int PS4_SYSV_ABI sceUserServiceSetNpOfflineAccountAdult();
int PS4_SYSV_ABI sceUserServiceSetNpOnlineId();
int PS4_SYSV_ABI sceUserServiceSetNpSubAccount();
int PS4_SYSV_ABI sceUserServiceSetPadSpeakerVolume();
int PS4_SYSV_ABI sceUserServiceSetParentalBdAge();
int PS4_SYSV_ABI sceUserServiceSetParentalBrowser();
int PS4_SYSV_ABI sceUserServiceSetParentalDvd();
int PS4_SYSV_ABI sceUserServiceSetParentalDvdRegion();
int PS4_SYSV_ABI sceUserServiceSetParentalGame();
int PS4_SYSV_ABI sceUserServiceSetParentalGameAgeLevel();
int PS4_SYSV_ABI sceUserServiceSetParentalMorpheus();
int PS4_SYSV_ABI sceUserServiceSetPartyMuteList();
int PS4_SYSV_ABI sceUserServiceSetPartyMuteListA();
int PS4_SYSV_ABI sceUserServiceSetPartySettingFlags();
int PS4_SYSV_ABI sceUserServiceSetPasscode();
int PS4_SYSV_ABI sceUserServiceSetPbtcAdditionalTime();
int PS4_SYSV_ABI sceUserServiceSetPbtcFlag();
int PS4_SYSV_ABI sceUserServiceSetPbtcFridayDuration();
int PS4_SYSV_ABI sceUserServiceSetPbtcFridayHoursEnd();
int PS4_SYSV_ABI sceUserServiceSetPbtcFridayHoursStart();
int PS4_SYSV_ABI sceUserServiceSetPbtcMode();
int PS4_SYSV_ABI sceUserServiceSetPbtcMondayDuration();
int PS4_SYSV_ABI sceUserServiceSetPbtcMondayHoursEnd();
int PS4_SYSV_ABI sceUserServiceSetPbtcMondayHoursStart();
int PS4_SYSV_ABI sceUserServiceSetPbtcPlayTime();
int PS4_SYSV_ABI sceUserServiceSetPbtcPlayTimeLastUpdated();
int PS4_SYSV_ABI sceUserServiceSetPbtcSaturdayDuration();
int PS4_SYSV_ABI sceUserServiceSetPbtcSaturdayHoursEnd();
int PS4_SYSV_ABI sceUserServiceSetPbtcSaturdayHoursStart();
int PS4_SYSV_ABI sceUserServiceSetPbtcSundayDuration();
int PS4_SYSV_ABI sceUserServiceSetPbtcSundayHoursEnd();
int PS4_SYSV_ABI sceUserServiceSetPbtcSundayHoursStart();
int PS4_SYSV_ABI sceUserServiceSetPbtcThursdayDuration();
int PS4_SYSV_ABI sceUserServiceSetPbtcThursdayHoursEnd();
int PS4_SYSV_ABI sceUserServiceSetPbtcThursdayHoursStart();
int PS4_SYSV_ABI sceUserServiceSetPbtcTuesdayDuration();
int PS4_SYSV_ABI sceUserServiceSetPbtcTuesdayHoursEnd();
int PS4_SYSV_ABI sceUserServiceSetPbtcTuesdayHoursStart();
int PS4_SYSV_ABI sceUserServiceSetPbtcTzOffset();
int PS4_SYSV_ABI sceUserServiceSetPbtcWednesdayDuration();
int PS4_SYSV_ABI sceUserServiceSetPbtcWednesdayHoursEnd();
int PS4_SYSV_ABI sceUserServiceSetPbtcWednesdayHoursStart();
int PS4_SYSV_ABI sceUserServiceSetPlayTogetherFlags();
int PS4_SYSV_ABI sceUserServiceSetPsnPasswordForDebug();
int PS4_SYSV_ABI sceUserServiceSetSaveDataAutoUpload();
int PS4_SYSV_ABI sceUserServiceSetSaveDataSort();
int PS4_SYSV_ABI sceUserServiceSetSaveDataTutorialFlag();
int PS4_SYSV_ABI sceUserServiceSetShareButtonAssign();
int PS4_SYSV_ABI sceUserServiceSetShareDailymotionAccessToken();
int PS4_SYSV_ABI sceUserServiceSetShareDailymotionRefreshToken();
int PS4_SYSV_ABI sceUserServiceSetSharePlayFlags();
int PS4_SYSV_ABI sceUserServiceSetSharePlayFramerateHost();
int PS4_SYSV_ABI sceUserServiceSetSharePlayResolutionHost();
int PS4_SYSV_ABI sceUserServiceSetShareStatus();
int PS4_SYSV_ABI sceUserServiceSetShareStatus2();
int PS4_SYSV_ABI sceUserServiceSetSystemLoggerHashedAccountId();
int PS4_SYSV_ABI sceUserServiceSetSystemLoggerHashedAccountIdClockType();
int PS4_SYSV_ABI sceUserServiceSetSystemLoggerHashedAccountIdParam();
int PS4_SYSV_ABI sceUserServiceSetSystemLoggerHashedAccountIdTtl();
int PS4_SYSV_ABI sceUserServiceSetTeamShowAboutTeam();
int PS4_SYSV_ABI sceUserServiceSetThemeBgImageDimmer();
int PS4_SYSV_ABI sceUserServiceSetThemeBgImageWaveColor();
int PS4_SYSV_ABI sceUserServiceSetThemeBgImageZoom();
int PS4_SYSV_ABI sceUserServiceSetThemeEntitlementId();
int PS4_SYSV_ABI sceUserServiceSetThemeHomeShareOwner();
int PS4_SYSV_ABI sceUserServiceSetThemeTextShadow();
int PS4_SYSV_ABI sceUserServiceSetThemeWaveColor();
int PS4_SYSV_ABI sceUserServiceSetTopMenuLimitItem();
int PS4_SYSV_ABI sceUserServiceSetTopMenuNotificationFlag();
int PS4_SYSV_ABI sceUserServiceSetTopMenuTutorialFlag();
int PS4_SYSV_ABI sceUserServiceSetTraditionalChineseInputType();
int PS4_SYSV_ABI sceUserServiceSetUserGroupIndex();
int PS4_SYSV_ABI sceUserServiceSetUserGroupName();
int PS4_SYSV_ABI sceUserServiceSetUserName();
int PS4_SYSV_ABI sceUserServiceSetUserStatus();
int PS4_SYSV_ABI sceUserServiceSetVibrationEnabled();
int PS4_SYSV_ABI sceUserServiceSetVoiceRecognitionLastUsedOsk();
int PS4_SYSV_ABI sceUserServiceSetVoiceRecognitionTutorialState();
int PS4_SYSV_ABI sceUserServiceSetVolumeForController();
int PS4_SYSV_ABI sceUserServiceSetVolumeForGenericUSB();
int PS4_SYSV_ABI sceUserServiceSetVolumeForMorpheusSidetone();
int PS4_SYSV_ABI sceUserServiceSetVolumeForSidetone();
int PS4_SYSV_ABI sceUserServiceTerminate();
int PS4_SYSV_ABI sceUserServiceUnregisterEventCallback();
int PS4_SYSV_ABI Func_8AC6DC4168D5FEA5();
int PS4_SYSV_ABI Func_A6BDC9DFDAFD02B4();
int PS4_SYSV_ABI Func_BB9491DFE6B4953C();
int PS4_SYSV_ABI Func_D2B814603E7B4477();
void RegisterlibSceUserService(Core::Loader::SymbolsResolver* sym);
} // namespace Libraries::UserService

View file

@ -299,7 +299,7 @@ void DrawBuffer(HLE::Libs::Graphics::VideoOutVulkanImage* image) {
}
void keyboardEvent(SDL_Event* event) {
using Core::Libraries::LibPad::ScePadButton;
using OldLibraries::LibPad::ScePadButton;
if (event->type == SDL_EVENT_KEY_DOWN || event->type == SDL_EVENT_KEY_UP) {
u32 button = 0;

View file

@ -46,7 +46,7 @@ int main(int argc, char* argv[]) {
mnt->Mount(p.parent_path(), "/app0");
auto linker = Common::Singleton<Core::Linker>::Instance();
Core::Libraries::InitHLELibs(&linker->getHLESymbols());
OldLibraries::InitHLELibs(&linker->getHLESymbols());
Core::InstallTlsHandler();
linker->LoadModule(path);
std::jthread mainthread([linker](std::stop_token stop_token, void*) { linker->Execute(); },