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);