changed some 64-bit unfriendly code from spu
This commit is contained in:
parent
6bdad735c0
commit
21bf563bbb
|
@ -851,7 +851,7 @@ static INLINE void TestForLoop(channel_struct *chan)
|
|||
{
|
||||
chan->status = CHANSTAT_STOPPED;
|
||||
|
||||
MMU.ARM7_REG[0x403 + ((((u32)chan-(u32)SPU->chan) / sizeof(channel_struct)) * 0x10)] &= 0x7F;
|
||||
MMU.ARM7_REG[0x403 + (((chan-SPU->chan) / sizeof(channel_struct)) * 0x10)] &= 0x7F;
|
||||
SPU->bufpos = SPU->buflength;
|
||||
}
|
||||
}
|
||||
|
@ -876,7 +876,7 @@ static INLINE void TestForLoop2(channel_struct *chan)
|
|||
else
|
||||
{
|
||||
chan->status = CHANSTAT_STOPPED;
|
||||
MMU.ARM7_REG[0x403 + ((((u32)chan-(u32)SPU->chan) / sizeof(channel_struct)) * 0x10)] &= 0x7F;
|
||||
MMU.ARM7_REG[0x403 + (((chan-SPU->chan) / sizeof(channel_struct)) * 0x10)] &= 0x7F;
|
||||
SPU->bufpos = SPU->buflength;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue