Build fix for OSX.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6586 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
skidau 2010-12-15 11:02:58 +00:00
parent c584bd5333
commit 02a38baf7c

View File

@ -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