From c3ea27e3788ea1c2cc312516532f0cf142e62bae Mon Sep 17 00:00:00 2001 From: Farseer Date: Thu, 25 Jan 2018 12:39:06 +0200 Subject: [PATCH] Maybe fix linux build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Who knows without a linux VM. I sure don't. Only 1 way to find out quickly. Nobody reads these notes anyway ¯\_(ツ)_/¯ --- rpcs3/Emu/Cell/SPUASMJITRecompiler.cpp | 5 ----- rpcs3/Emu/Cell/SPUASMJITRecompiler.h | 16 +++++----------- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/rpcs3/Emu/Cell/SPUASMJITRecompiler.cpp b/rpcs3/Emu/Cell/SPUASMJITRecompiler.cpp index 54f4bb2e54..8b884c502a 100644 --- a/rpcs3/Emu/Cell/SPUASMJITRecompiler.cpp +++ b/rpcs3/Emu/Cell/SPUASMJITRecompiler.cpp @@ -10,11 +10,6 @@ #include -#define ASMJIT_STATIC -#define ASMJIT_DEBUG - -#include "asmjit.h" - #define SPU_OFF_128(x, ...) asmjit::x86::oword_ptr(*cpu, offset32(&SPUThread::x, ##__VA_ARGS__)) #define SPU_OFF_64(x, ...) asmjit::x86::qword_ptr(*cpu, offset32(&SPUThread::x, ##__VA_ARGS__)) #define SPU_OFF_32(x, ...) asmjit::x86::dword_ptr(*cpu, offset32(&SPUThread::x, ##__VA_ARGS__)) diff --git a/rpcs3/Emu/Cell/SPUASMJITRecompiler.h b/rpcs3/Emu/Cell/SPUASMJITRecompiler.h index eabd0598b5..ca56767055 100644 --- a/rpcs3/Emu/Cell/SPUASMJITRecompiler.h +++ b/rpcs3/Emu/Cell/SPUASMJITRecompiler.h @@ -1,17 +1,11 @@ #pragma once -#include "SPURecompiler.h" +#define ASMJIT_STATIC +#define ASMJIT_DEBUG -namespace asmjit -{ - struct JitRuntime; - struct CodeHolder; - struct X86Compiler; - struct X86Gp; - struct X86Xmm; - struct X86Mem; - struct Label; -} +#include "asmjit.h" + +#include "SPURecompiler.h" // SPU ASMJIT Recompiler class spu_recompiler : public spu_recompiler_base