Fix precedence order in newdc/hw/sh4/dyna/decoder.cpp. && has a higher precedence than ||. Considering the || left and right expressions test for similar things, I believe this was the intent.
This commit is contained in:
parent
fda7844f73
commit
ed8c25ef7c
|
@ -1171,7 +1171,7 @@ _end:
|
|||
//Small-n-simple idle loop detector :p
|
||||
if (state.info.has_readm && !state.info.has_writem && !state.info.has_fpu && blk->guest_opcodes<6)
|
||||
{
|
||||
if (blk->BlockType==BET_Cond_0 || blk->BlockType==BET_Cond_1 && blk->BranchBlock<=blk->addr)
|
||||
if ((blk->BlockType==BET_Cond_0 || blk->BlockType==BET_Cond_1) && blk->BranchBlock<=blk->addr)
|
||||
{
|
||||
blk->guest_cycles*=3;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue