mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-12-26 17:51:53 +01:00
PPCAssembler: Fix incorrect cast sign of branch distance calculate (#555)
This commit is contained in:
parent
dd538d477c
commit
c1afa4cad0
@ -2126,7 +2126,7 @@ bool _ppcAssembler_isConstantBranchTargetExpr(std::string& expressionString, sin
|
||||
{
|
||||
return false;
|
||||
}
|
||||
relativeAddr = (uint32)branchDistance;
|
||||
relativeAddr = (sint32)branchDistance;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user