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:
parent
c584bd5333
commit
02a38baf7c
|
@ -154,7 +154,7 @@ void r_jcc(const UDSPInstruction opc, DSPEmitter& emitter)
|
||||||
// TODO: Subtract cycles from cyclesLeft
|
// TODO: Subtract cycles from cyclesLeft
|
||||||
if (emitter.blockLinks[dest])
|
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));
|
emitter.JMPptr(R(RAX));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -220,7 +220,7 @@ void r_call(const UDSPInstruction opc, DSPEmitter& emitter)
|
||||||
// TODO: Subtract cycles from cyclesLeft
|
// TODO: Subtract cycles from cyclesLeft
|
||||||
if (emitter.blockLinks[dest])
|
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));
|
emitter.JMPptr(R(RAX));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue