mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 00:13:08 +00:00
Minor cleanup
This commit is contained in:
parent
ca4380ea1c
commit
b0e3297f40
@ -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));
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user