mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 17:01:24 +12:00
Added jit_runtime class
Is a memory manager for ASMJIT, replaces asmjit::JitRuntime Unified memory manager for ASMJIT and LLVM Unified SPU trampoline generation Remove previous workarounds
This commit is contained in:
parent
d1f544c755
commit
4292997a01
7 changed files with 219 additions and 358 deletions
|
@ -39,6 +39,7 @@
|
|||
#include "Utilities/GDBDebugServer.h"
|
||||
|
||||
#include "Utilities/sysinfo.h"
|
||||
#include "Utilities/JIT.h"
|
||||
|
||||
#if defined(_WIN32) || defined(HAVE_VULKAN)
|
||||
#include "Emu/RSX/VK/VulkanAPI.h"
|
||||
|
@ -274,6 +275,8 @@ void fmt_class_string<enter_button_assign>::format(std::string& out, u64 arg)
|
|||
|
||||
void Emulator::Init()
|
||||
{
|
||||
jit_runtime::initialize();
|
||||
|
||||
if (!g_tty)
|
||||
{
|
||||
g_tty.open(fs::get_cache_dir() + "TTY.log", fs::rewrite + fs::append);
|
||||
|
@ -1537,6 +1540,7 @@ void Emulator::Stop(bool restart)
|
|||
extern void jit_finalize();
|
||||
jit_finalize();
|
||||
#endif
|
||||
jit_runtime::finalize();
|
||||
|
||||
if (restart)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue