mirror of https://github.com/PCSX2/pcsx2.git
Don't know how/why these changed in the DMA commit, but reverting to what it should be.
(seriously, i don't remember changing this!) git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5920 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
e6b363ef54
commit
fb13a502d2
|
@ -120,7 +120,7 @@ int _SPR0chain()
|
|||
__fi void SPR0chain()
|
||||
{
|
||||
int cycles = 0;
|
||||
cycles = _SPR0chain() / BIAS;
|
||||
cycles = _SPR0chain() * BIAS;
|
||||
CPU_INT(DMAC_FROM_SPR, cycles);
|
||||
}
|
||||
|
||||
|
@ -136,7 +136,7 @@ void _SPR0interleave()
|
|||
SPR_LOG("SPR0 interleave size=%d, tqwc=%d, sqwc=%d, addr=%lx sadr=%lx",
|
||||
spr0ch.qwc, tqwc, sqwc, spr0ch.madr, spr0ch.sadr);
|
||||
|
||||
CPU_INT(DMAC_FROM_SPR, qwc / BIAS);
|
||||
CPU_INT(DMAC_FROM_SPR, qwc * BIAS);
|
||||
|
||||
while (qwc > 0)
|
||||
{
|
||||
|
@ -360,7 +360,7 @@ __fi void SPR1chain()
|
|||
int cycles = 0;
|
||||
if(!CHECK_IPUWAITHACK)
|
||||
{
|
||||
cycles = _SPR1chain() / BIAS;
|
||||
cycles = _SPR1chain() * BIAS;
|
||||
CPU_INT(DMAC_TO_SPR, cycles);
|
||||
}
|
||||
else
|
||||
|
@ -380,7 +380,7 @@ void _SPR1interleave()
|
|||
if (tqwc == 0) tqwc = qwc;
|
||||
SPR_LOG("SPR1 interleave size=%d, tqwc=%d, sqwc=%d, addr=%lx sadr=%lx",
|
||||
spr1ch.qwc, tqwc, sqwc, spr1ch.madr, spr1ch.sadr);
|
||||
CPU_INT(DMAC_TO_SPR, qwc / BIAS);
|
||||
CPU_INT(DMAC_TO_SPR, qwc * BIAS);
|
||||
while (qwc > 0)
|
||||
{
|
||||
spr1ch.qwc = std::min(tqwc, qwc);
|
||||
|
|
Loading…
Reference in New Issue