more refactoring

This commit is contained in:
georgemoralis 2023-08-02 15:16:00 +03:00
parent 4aa4f4ade9
commit c0e1ace5fc
4 changed files with 13 additions and 12 deletions

View File

@ -18,6 +18,7 @@ include_directories(third-party/zydis/include/Zydis)
include_directories(third-party/winpthread/include)
add_subdirectory("third-party")
#=================== EXAMPLE ===================
include_directories(src)
add_executable(shadps4
src/main.cpp

View File

@ -1,5 +1,5 @@
#pragma once
#include "../../../../types.h"
#include <types.h>
// constants

View File

@ -1,10 +1,10 @@
#pragma once
#include "../../../../types.h"
#include <types.h>
namespace HLE::Libs::LibKernel::MemoryManagement {
u64 PS4_SYSV_ABI sceKernelGetDirectMemorySize();
int PS4_SYSV_ABI sceKernelAllocateDirectMemory(s64 searchStart, s64 searchEnd, u64 len, u64 alignment, int memoryType, s64* physAddrOut);
};
}; // namespace HLE::Libs::LibKernel::MemoryManagement

View File

@ -1,7 +1,7 @@
#pragma once
#include <vector>
#include <types.h>
#include "../../../../../types.h"
#include <vector>
namespace HLE::Kernel::Objects {