Unity batch size

Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
crueter 2026-04-01 04:25:12 -04:00 committed by lizzie
parent 4b7527a4b1
commit de930efb3c
4 changed files with 11 additions and 1 deletions

View file

@ -9,7 +9,7 @@ include_directories(.)
if (ENABLE_UNITY_BUILD)
set(CMAKE_UNITY_BUILD ON)
set(CMAKE_UNITY_BUILD_BATCH_SIZE 100)
set(CMAKE_UNITY_BUILD_BATCH_SIZE ${UNITY_BATCH_SIZE})
endif()
# Dynarmic

View file

@ -13,6 +13,10 @@
#include "core/hle/kernel/k_process.h"
#include "core/hle/kernel/svc.h"
#undef OutputDebugString
#undef GetObject
#undef CreateProcess
namespace Kernel::Svc {
static uint32_t GetArg32(std::span<uint64_t, 8> args, int n) {

View file

@ -27,6 +27,8 @@
#include "core/hle/service/ipc_helpers.h"
#include "core/memory.h"
#undef SendMessage
namespace Service {
SessionRequestHandler::SessionRequestHandler(Kernel::KernelCore& kernel_, const char* service_name_)