disable JIT service

This commit is contained in:
lizzie
2026-06-09 00:36:19 +00:00
parent b3bc1d8a40
commit 4a96cc9694
4 changed files with 30 additions and 4 deletions
+6 -4
View File
@@ -7,7 +7,7 @@
#include <mutex>
#include <utility>
#ifdef __EMSCRIPTEN__
#if defined(__EMSCRIPTEN__) || defined(__wasi__)
// TODO: gdb stub compat with emscripten?
#else
#include <boost/asio.hpp>
@@ -27,7 +27,9 @@
#include "common/thread.h"
#include "core/core.h"
#include "core/debugger/debugger.h"
#ifndef __EMSCRIPTEN__
#if defined(__EMSCRIPTEN__) || defined(__wasi__)
// TODO: gdbstub with emscripten?
#else
#include "core/debugger/debugger_interface.h"
#include "core/debugger/gdbstub.h"
#endif
@@ -35,10 +37,10 @@
#include "core/hle/kernel/k_process.h"
#include "core/hle/kernel/k_scheduler.h"
#ifdef __EMSCRIPTEN__
#if defined(__EMSCRIPTEN__) || defined(__wasi__)
namespace Core {
// Dummy
struct DebuggerImpl {
class DebuggerImpl {
char pad;
};
Debugger::Debugger(Core::System& system, u16 port) {}
+3
View File
@@ -118,7 +118,10 @@ Services::Services(std::shared_ptr<SM::ServiceManager>& sm, Core::System& system
{"glue", &Glue::LoopProcess},
{"grc", &GRC::LoopProcess},
{"hid", &HID::LoopProcess},
// Must match with src/core/CMakeLists.txt for target_source of jit.cpp
#if defined(ARCHITECTURE_x86_64) || defined(ARCHITECTURE_arm64) || defined(ARCHITECTURE_riscv64) || defined(ARCHITECTURE_loongarch64)
{"jit", &JIT::LoopProcess},
#endif
{"lbl", &LBL::LoopProcess},
{"Loader", &LDR::LoopProcess},
{"LogManager.Prod", &LM::LoopProcess},
+4
View File
@@ -75,3 +75,7 @@ if (NOT MSVC)
$<$<COMPILE_LANGUAGE:C,CXX>:-Wno-unused-parameter>
$<$<COMPILE_LANGUAGE:C,CXX>:-Wno-missing-field-initializers>)
endif()
if (PLATFORM_EMSCRIPTEN)
set_target_properties(yuzu-cmd PROPERTIES LINK_FLAGS_RELEASE "--global-base=16777216")
endif()