more refactoring
This commit is contained in:
parent
4aa4f4ade9
commit
c0e1ace5fc
|
@ -18,6 +18,7 @@ include_directories(third-party/zydis/include/Zydis)
|
||||||
include_directories(third-party/winpthread/include)
|
include_directories(third-party/winpthread/include)
|
||||||
add_subdirectory("third-party")
|
add_subdirectory("third-party")
|
||||||
#=================== EXAMPLE ===================
|
#=================== EXAMPLE ===================
|
||||||
|
include_directories(src)
|
||||||
|
|
||||||
add_executable(shadps4
|
add_executable(shadps4
|
||||||
src/main.cpp
|
src/main.cpp
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "../../../../types.h"
|
#include <types.h>
|
||||||
|
|
||||||
// constants
|
// constants
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "../../../../types.h"
|
#include <types.h>
|
||||||
|
|
||||||
namespace HLE::Libs::LibKernel::MemoryManagement {
|
namespace HLE::Libs::LibKernel::MemoryManagement {
|
||||||
|
|
||||||
u64 PS4_SYSV_ABI sceKernelGetDirectMemorySize();
|
u64 PS4_SYSV_ABI sceKernelGetDirectMemorySize();
|
||||||
int PS4_SYSV_ABI sceKernelAllocateDirectMemory(s64 searchStart, s64 searchEnd, u64 len, u64 alignment, int memoryType, s64* physAddrOut);
|
int PS4_SYSV_ABI sceKernelAllocateDirectMemory(s64 searchStart, s64 searchEnd, u64 len, u64 alignment, int memoryType, s64* physAddrOut);
|
||||||
|
|
||||||
};
|
}; // namespace HLE::Libs::LibKernel::MemoryManagement
|
|
@ -1,7 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <vector>
|
#include <types.h>
|
||||||
|
|
||||||
#include "../../../../../types.h"
|
#include <vector>
|
||||||
|
|
||||||
namespace HLE::Kernel::Objects {
|
namespace HLE::Kernel::Objects {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue