mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-10 03:18:55 +02:00
Unity batch size
Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
parent
a5dea4fa65
commit
b378ae91bc
4 changed files with 11 additions and 1 deletions
|
|
@ -68,6 +68,10 @@ endif()
|
||||||
|
|
||||||
# my unity/jumbo build
|
# my unity/jumbo build
|
||||||
option(ENABLE_UNITY_BUILD "Enable Unity/Jumbo build" OFF)
|
option(ENABLE_UNITY_BUILD "Enable Unity/Jumbo build" OFF)
|
||||||
|
|
||||||
|
# 0 compiles all files in
|
||||||
|
set(UNITY_BATCH_SIZE 0 CACHE STRING "Unity build batch size")
|
||||||
|
|
||||||
if(MSVC AND ENABLE_UNITY_BUILD)
|
if(MSVC AND ENABLE_UNITY_BUILD)
|
||||||
message(STATUS "Unity build")
|
message(STATUS "Unity build")
|
||||||
# Unity builds need big objects for MSVC...
|
# Unity builds need big objects for MSVC...
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ include_directories(.)
|
||||||
|
|
||||||
if (ENABLE_UNITY_BUILD)
|
if (ENABLE_UNITY_BUILD)
|
||||||
set(CMAKE_UNITY_BUILD ON)
|
set(CMAKE_UNITY_BUILD ON)
|
||||||
set(CMAKE_UNITY_BUILD_BATCH_SIZE 100)
|
set(CMAKE_UNITY_BUILD_BATCH_SIZE ${UNITY_BATCH_SIZE})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Dynarmic
|
# Dynarmic
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,10 @@
|
||||||
#include "core/hle/kernel/k_process.h"
|
#include "core/hle/kernel/k_process.h"
|
||||||
#include "core/hle/kernel/svc.h"
|
#include "core/hle/kernel/svc.h"
|
||||||
|
|
||||||
|
#undef OutputDebugString
|
||||||
|
#undef GetObject
|
||||||
|
#undef CreateProcess
|
||||||
|
|
||||||
namespace Kernel::Svc {
|
namespace Kernel::Svc {
|
||||||
|
|
||||||
static uint32_t GetArg32(std::span<uint64_t, 8> args, int n) {
|
static uint32_t GetArg32(std::span<uint64_t, 8> args, int n) {
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,8 @@
|
||||||
#include "core/hle/service/ipc_helpers.h"
|
#include "core/hle/service/ipc_helpers.h"
|
||||||
#include "core/memory.h"
|
#include "core/memory.h"
|
||||||
|
|
||||||
|
#undef SendMessage
|
||||||
|
|
||||||
namespace Service {
|
namespace Service {
|
||||||
|
|
||||||
SessionRequestHandler::SessionRequestHandler(Kernel::KernelCore& kernel_, const char* service_name_)
|
SessionRequestHandler::SessionRequestHandler(Kernel::KernelCore& kernel_, const char* service_name_)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue