changed some 64-bit unfriendly code from spu

This commit is contained in:
gecko_reverse 2008-09-21 01:05:44 +00:00
parent 6bdad735c0
commit 21bf563bbb
1 changed files with 11 additions and 11 deletions

View File

@ -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;
}
}