Minor cleanup

This commit is contained in:
Stephen Miller 2025-03-08 14:11:04 -06:00
parent ca4380ea1c
commit b0e3297f40
2 changed files with 7 additions and 6 deletions

View File

@ -85,7 +85,7 @@ s32 PS4_SYSV_ABI sceKernelDlsym(s32 handle, const char* symbol, void** addrp) {
return ORBIS_OK; return ORBIS_OK;
} }
s32 PS4_SYSV_ABI sceKernelGetModuleInfoForUnwind(VAddr addr, int flags, s32 PS4_SYSV_ABI sceKernelGetModuleInfoForUnwind(VAddr addr, s32 flags,
OrbisModuleInfoForUnwind* info) { OrbisModuleInfoForUnwind* info) {
if (flags >= 3) { if (flags >= 3) {
std::memset(info, 0, sizeof(OrbisModuleInfoForUnwind)); std::memset(info, 0, sizeof(OrbisModuleInfoForUnwind));

View File

@ -11,10 +11,6 @@ class SymbolsResolver;
namespace Libraries::Kernel { namespace Libraries::Kernel {
int PS4_SYSV_ABI sceKernelIsNeoMode();
int PS4_SYSV_ABI sceKernelGetCompiledSdkVersion(int* ver);
static constexpr size_t ORBIS_DBG_MAX_NAME_LENGTH = 256; static constexpr size_t ORBIS_DBG_MAX_NAME_LENGTH = 256;
struct OrbisModuleInfoForUnwind { struct OrbisModuleInfoForUnwind {
@ -27,7 +23,12 @@ struct OrbisModuleInfoForUnwind {
u64 seg0_size; u64 seg0_size;
}; };
s32 PS4_SYSV_ABI sceKernelGetModuleInfoForUnwind(VAddr addr, s32 flags, OrbisModuleInfoForUnwind* info); int PS4_SYSV_ABI sceKernelIsNeoMode();
int PS4_SYSV_ABI sceKernelGetCompiledSdkVersion(int* ver);
s32 PS4_SYSV_ABI sceKernelGetModuleInfoForUnwind(VAddr addr, s32 flags,
OrbisModuleInfoForUnwind* info);
void RegisterProcess(Core::Loader::SymbolsResolver* sym); void RegisterProcess(Core::Loader::SymbolsResolver* sym);