mmu: put braces to avoid gcc warning us we may are doing something fishy
This commit is contained in:
parent
4134d2556b
commit
d6935d07f7
|
@ -1350,11 +1350,12 @@ template<int PROCNUM> static void REG_IF_WriteByte(u32 addr, u8 val)
|
||||||
//arm7: IF &= ~0x00000000;
|
//arm7: IF &= ~0x00000000;
|
||||||
//UPDATE IN setIF() ALSO!!!!!!!!!!!!!!!!
|
//UPDATE IN setIF() ALSO!!!!!!!!!!!!!!!!
|
||||||
//UPDATE IN mmu_loadstate ALSO!!!!!!!!!!!!
|
//UPDATE IN mmu_loadstate ALSO!!!!!!!!!!!!
|
||||||
if(addr==2)
|
if (addr==2) {
|
||||||
if(PROCNUM==ARMCPU_ARM9)
|
if(PROCNUM==ARMCPU_ARM9)
|
||||||
val &= ~0x20;
|
val &= ~0x20;
|
||||||
else
|
else
|
||||||
val &= ~0x00;
|
val &= ~0x00;
|
||||||
|
}
|
||||||
|
|
||||||
//ZERO 01-dec-2010 : I am no longer sure this approach is correct.. it proved to be wrong for IPC fifo.......
|
//ZERO 01-dec-2010 : I am no longer sure this approach is correct.. it proved to be wrong for IPC fifo.......
|
||||||
//it seems as if IF bits should always be cached (only the user can clear them)
|
//it seems as if IF bits should always be cached (only the user can clear them)
|
||||||
|
|
Loading…
Reference in New Issue