mirror of https://github.com/PCSX2/pcsx2.git
debug: add a nop between EE instruction in dev build
This way it is easier to detect the boundary in the x86 asm block
This commit is contained in:
parent
d78f887d1c
commit
162bf3d22d
|
@ -1297,8 +1297,11 @@ void recompileNextInstruction(int delayslot)
|
|||
s_pCode = (int *)PSM( pc );
|
||||
pxAssert(s_pCode);
|
||||
|
||||
// acts as a tag for delimiting recompiled instructions when viewing x86 disasm.
|
||||
if( IsDevBuild )
|
||||
xNOP();
|
||||
if( IsDebugBuild )
|
||||
xMOV(eax, pc); // acts as a tag for delimiting recompiled instructions when viewing x86 disasm.
|
||||
xMOV(eax, pc);
|
||||
|
||||
cpuRegs.code = *(int *)s_pCode;
|
||||
|
||||
|
|
Loading…
Reference in New Issue