mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Fixed a small bug in J_CC when emitting jumps that exceed 0x80 in range (only used by DSP NR yet).
Add back a CMP nakee missed in his last commit git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5328 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -368,7 +368,7 @@ FixupBranch XEmitter::J_CC(CCFlags conditionCode, bool force5bytes)
|
||||
{
|
||||
FixupBranch branch;
|
||||
branch.type = force5bytes ? 1 : 0;
|
||||
branch.ptr = code + (force5bytes ? 5 : 2);
|
||||
branch.ptr = code + (force5bytes ? 6 : 2);
|
||||
if (!force5bytes)
|
||||
{
|
||||
//8 bits will do
|
||||
|
Reference in New Issue
Block a user