mirror of https://github.com/PCSX2/pcsx2.git
SPU2ghz: Reverted last change since it broke way more than it fixed. Will post another improved ADMA attempt later once I've got it figured out better.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@277 a6443dda-0b58-4228-96e9-037be469359c
This commit is contained in:
parent
aa48345c70
commit
a169a0fe87
|
@ -695,7 +695,7 @@ void __fastcall TimeUpdate(u32 cClocks, u32 syncType)
|
|||
//Update DMA4 interrupt delay counter
|
||||
if(Cores[0].DMAICounter>0)
|
||||
{
|
||||
Cores[0].DMAICounter-=1;
|
||||
Cores[0].DMAICounter-=TickInterval;
|
||||
if(Cores[0].DMAICounter<=0)
|
||||
{
|
||||
Cores[0].MADR=Cores[0].TADR;
|
||||
|
@ -703,14 +703,14 @@ void __fastcall TimeUpdate(u32 cClocks, u32 syncType)
|
|||
if(dma4callback) dma4callback();
|
||||
}
|
||||
else {
|
||||
Cores[0].MADR+=2;
|
||||
Cores[0].MADR+=TickInterval<<1;
|
||||
}
|
||||
}
|
||||
|
||||
//Update DMA7 interrupt delay counter
|
||||
if(Cores[1].DMAICounter>0)
|
||||
{
|
||||
Cores[1].DMAICounter-=1;
|
||||
Cores[1].DMAICounter-=TickInterval;
|
||||
if(Cores[1].DMAICounter<=0)
|
||||
{
|
||||
Cores[1].MADR=Cores[1].TADR;
|
||||
|
@ -718,7 +718,7 @@ void __fastcall TimeUpdate(u32 cClocks, u32 syncType)
|
|||
if(dma7callback) dma7callback();
|
||||
}
|
||||
else {
|
||||
Cores[1].MADR+=2;
|
||||
Cores[1].MADR+=TickInterval<<1;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue