From 02a38baf7c087ee5e1786ba7ea28f818cdbde0e5 Mon Sep 17 00:00:00 2001 From: skidau Date: Wed, 15 Dec 2010 11:02:58 +0000 Subject: [PATCH] Build fix for OSX. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6586 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DSPCore/Src/Jit/DSPJitBranch.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/DSPCore/Src/Jit/DSPJitBranch.cpp b/Source/Core/DSPCore/Src/Jit/DSPJitBranch.cpp index ff1700ce65..a7accf046b 100644 --- a/Source/Core/DSPCore/Src/Jit/DSPJitBranch.cpp +++ b/Source/Core/DSPCore/Src/Jit/DSPJitBranch.cpp @@ -154,7 +154,7 @@ void r_jcc(const UDSPInstruction opc, DSPEmitter& emitter) // TODO: Subtract cycles from cyclesLeft if (emitter.blockLinks[dest]) { - emitter.MOV(64, R(RAX), ImmPtr(emitter.blockLinks[dest])); + emitter.MOV(64, R(RAX), ImmPtr((void *)(emitter.blockLinks[dest]))); emitter.JMPptr(R(RAX)); } #endif @@ -220,7 +220,7 @@ void r_call(const UDSPInstruction opc, DSPEmitter& emitter) // TODO: Subtract cycles from cyclesLeft if (emitter.blockLinks[dest]) { - emitter.MOV(64, R(RAX), ImmPtr(emitter.blockLinks[dest])); + emitter.MOV(64, R(RAX), ImmPtr((void *)(emitter.blockLinks[dest]))); emitter.JMPptr(R(RAX)); } #endif