From b0e3297f4077b011f0ea7d3d53181366196deffd Mon Sep 17 00:00:00 2001 From: Stephen Miller Date: Sat, 8 Mar 2025 14:11:04 -0600 Subject: [PATCH] Minor cleanup --- src/core/libraries/kernel/process.cpp | 2 +- src/core/libraries/kernel/process.h | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/core/libraries/kernel/process.cpp b/src/core/libraries/kernel/process.cpp index 8077fd148..cb61bbda9 100644 --- a/src/core/libraries/kernel/process.cpp +++ b/src/core/libraries/kernel/process.cpp @@ -85,7 +85,7 @@ s32 PS4_SYSV_ABI sceKernelDlsym(s32 handle, const char* symbol, void** addrp) { return ORBIS_OK; } -s32 PS4_SYSV_ABI sceKernelGetModuleInfoForUnwind(VAddr addr, int flags, +s32 PS4_SYSV_ABI sceKernelGetModuleInfoForUnwind(VAddr addr, s32 flags, OrbisModuleInfoForUnwind* info) { if (flags >= 3) { std::memset(info, 0, sizeof(OrbisModuleInfoForUnwind)); diff --git a/src/core/libraries/kernel/process.h b/src/core/libraries/kernel/process.h index c2adccf2c..09e4276fb 100644 --- a/src/core/libraries/kernel/process.h +++ b/src/core/libraries/kernel/process.h @@ -11,10 +11,6 @@ class SymbolsResolver; 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; struct OrbisModuleInfoForUnwind { @@ -27,7 +23,12 @@ struct OrbisModuleInfoForUnwind { 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);