mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-18 12:04:17 +01:00
Summary of fixes
Games - Resident Evil Dead Aim flickering graphics fixed. - Flatout games should now boot everytime (instead of randomly) - Sega Superstar Tennis flashing fixed - Destruction Derby graphics fixed (NTSC confirmed, PAL unsure) - Tenchu Fatal Shadows flickering textures fixed, Issue 748 - Spyro Hero's Tail should boot again, Issue 746 General Info - General reworking of the GS paths with all paths prioritizing more correctly. - XGKICK can stall if another GS transfer is in progress - Major reworking of Path3 masking, could still be combined with normal Path3 transfers, but lets get it working first :P - Taken in to account a few conditions which could have caused VIF to lock up/crash when stalling on ends. - Unreversed GIF and SPR and VIF so its the normal way round - all DMA paths should now resume correctly after being stopped by hardware - GIF FIFO now actually transfers stuff :P - VIF CMD's simulated by the length of the interrupts at the end. Phew, i think that's everything :S git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3274 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
1 parent
24ae022a74
commit
26fece9510
30 files changed
+1172
-487
No files matched your search
+16
-10
@@ -73,7 +73,7 @@ static __forceinline bool WriteIOPtoFifo()
|
||||
hw_dma(9).madr += writeSize << 2;
|
||||
|
||||
// iop is 1/8th the clock rate of the EE and psxcycles is in words (not quadwords).
|
||||
sif0.iop.cycles += (writeSize >> 2) * BIAS; // fixme : should be >> 4
|
||||
sif0.iop.cycles += (writeSize >> 2)/* * BIAS*/; // fixme : should be >> 4
|
||||
sif0.iop.counter -= writeSize;
|
||||
|
||||
return true;
|
||||
@@ -298,15 +298,21 @@ __forceinline void SIF0Dma()
|
||||
|
||||
if (sif0.iop.busy)
|
||||
{
|
||||
if(sif0.fifo.free() > 0) BusyCheck++;
|
||||
HandleIOPTransfer();
|
||||
if(sif0.fifo.free() > 0 || (sif0.iop.end == true && sif0.iop.counter == 0))
|
||||
{
|
||||
BusyCheck++;
|
||||
HandleIOPTransfer();
|
||||
}
|
||||
}
|
||||
if (sif0.ee.busy)
|
||||
{
|
||||
if(sif0.fifo.size >= 4) BusyCheck++;
|
||||
HandleEETransfer();
|
||||
if(sif0.fifo.size >= 4 || (sif0.ee.end == true && sif0dma->qwc == 0))
|
||||
{
|
||||
BusyCheck++;
|
||||
HandleEETransfer();
|
||||
}
|
||||
}
|
||||
} while (!done && BusyCheck > 0); // Substituting (sif0.ee.busy || sif0.iop.busy) breaks things.
|
||||
} while (/*!done && */BusyCheck > 0); // Substituting (sif0.ee.busy || sif0.iop.busy) breaks things.
|
||||
|
||||
Sif0End();
|
||||
}
|
||||
@@ -332,17 +338,17 @@ __forceinline void dmaSIF0()
|
||||
SIF_LOG("warning, sif0.fifoReadPos != sif0.fifoWritePos");
|
||||
}
|
||||
|
||||
if(sif0dma->chcr.MOD == CHAIN_MODE && sif0dma->qwc > 0) DevCon.Warning(L"SIF0 QWC on Chain CHCR " + sif0dma->chcr.desc());
|
||||
//if(sif0dma->chcr.MOD == CHAIN_MODE && sif0dma->qwc > 0) DevCon.Warning(L"SIF0 QWC on Chain CHCR " + sif0dma->chcr.desc());
|
||||
psHu32(SBUS_F240) |= 0x2000;
|
||||
sif0.ee.busy = true;
|
||||
|
||||
if (sif0.iop.busy)
|
||||
{
|
||||
/*if (sif0.iop.busy)
|
||||
{*/
|
||||
XMMRegisters::Freeze();
|
||||
hwIntcIrq(INTC_SBUS);
|
||||
SIF0Dma();
|
||||
psHu32(SBUS_F240) &= ~0x20;
|
||||
psHu32(SBUS_F240) &= ~0x2000;
|
||||
XMMRegisters::Thaw();
|
||||
}
|
||||
//}
|
||||
}
|
||||
Reference in new issue
Block a user