diff --git a/core/rec-x86/rec_x86.cpp b/core/rec-x86/rec_x86.cpp index 8c3505b01..0d199637d 100644 --- a/core/rec-x86/rec_x86.cpp +++ b/core/rec-x86/rec_x86.cpp @@ -44,7 +44,7 @@ static X86Compiler* compiler; static Xbyak::Operand::Code alloc_regs[] { Xbyak::Operand::EBX, Xbyak::Operand::EBP, Xbyak::Operand::ESI, Xbyak::Operand::EDI, (Xbyak::Operand::Code)-1 }; static s8 alloc_fregs[] = { 7, 6, 5, 4, -1 }; alignas(16) static f32 thaw_regs[4]; -static UnwindInfo unwinder; +UnwindInfo unwinder; void X86RegAlloc::doAlloc(RuntimeBlockInfo* block) { diff --git a/core/rec-x86/x86_ops.cpp b/core/rec-x86/x86_ops.cpp index 38c4f2894..f6657f299 100644 --- a/core/rec-x86/x86_ops.cpp +++ b/core/rec-x86/x86_ops.cpp @@ -26,6 +26,9 @@ #include "hw/sh4/sh4_opcode_list.h" #include "hw/sh4/sh4_core.h" #include "hw/mem/_vmem.h" +#include "oslib/oslib.h" + +extern UnwindInfo unwinder; namespace MemSize { enum {