mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-04 13:07:32 +00:00
refactor(sdk): add canonical headers for remaining libraries
This commit is contained in:
1 parent
35cf8d56cd
commit
f38d29fd08
1491 files changed
+19124
-12458
No files matched your search
@@ -1,3 +1,5 @@
|
||||
#include "prx/libkernel_sys/include/Api.hpp"
|
||||
#include "prx/libkernel/include/Api.hpp"
|
||||
#include "SceTypes.hpp"
|
||||
#include "prx/libkernel/KernelErrors.hpp"
|
||||
#include <algorithm>
|
||||
@@ -8,14 +10,6 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
extern "C" {
|
||||
int APS5_VABI sceKernelGetModuleInfoInternal(KernelModule, ModuleInfoEx*);
|
||||
int APS5_VABI sceKernelGetModuleListInternal(KernelModule*, std::size_t, std::size_t*);
|
||||
int APS5_VABI sceKernelGetModuleList(KernelModule*, std::size_t, std::size_t*);
|
||||
int APS5_VABI sceKernelGetModuleInfo(KernelModule, ModuleInfo*);
|
||||
int APS5_VABI sceKernelGetModuleInfoFromAddr(std::uint64_t, int, ModuleInfoEx*);
|
||||
}
|
||||
|
||||
static void Require(bool value) { if (!value) std::abort(); }
|
||||
|
||||
static std::vector<KernelModule> List(int (APS5_VABI* list)(KernelModule*, std::size_t, std::size_t*)) {
|
||||
|
||||
Reference in new issue
Block a user