mirror of
https://github.com/libretro/pcsx2.git
synced 2025-04-02 20:31:37 +00:00
Core: Changed when scratchpad DMA waits on the VU1 thread with MTVU active, might fix/speed up something.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5483 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
ac54bad33c
commit
4eb5dedef1
@ -56,11 +56,6 @@ static void TestClearVUs(u32 madr, u32 qwc, bool isWrite)
|
|||||||
{
|
{
|
||||||
DbgCon.Warning("scratch pad clearing vu1");
|
DbgCon.Warning("scratch pad clearing vu1");
|
||||||
|
|
||||||
if (THREAD_VU1) {
|
|
||||||
DevCon.Error("MTVU Warning: SPR Accessing VU1 Memory!!!");
|
|
||||||
vu1Thread.WaitVU();
|
|
||||||
}
|
|
||||||
|
|
||||||
CpuVU1->Clear(madr&0x3fff, qwc * 16);
|
CpuVU1->Clear(madr&0x3fff, qwc * 16);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -115,10 +115,12 @@ __fi tDMA_TAG* SPRdmaGetAddr(u32 addr, bool write)
|
|||||||
}
|
}
|
||||||
else if ((addr >= 0x11000000) && (addr < 0x11010000))
|
else if ((addr >= 0x11000000) && (addr < 0x11010000))
|
||||||
{
|
{
|
||||||
if (THREAD_VU1) {
|
if (addr >= 0x11008000 && THREAD_VU1)
|
||||||
//DevCon.Error("MTVU: SPRdmaGetAddr Accessing VU Memory!");
|
{
|
||||||
|
DevCon.Warning("MTVU: SPR Accessing VU1 Memory");
|
||||||
vu1Thread.WaitVU();
|
vu1Thread.WaitVU();
|
||||||
}
|
}
|
||||||
|
|
||||||
//Access for VU Memory
|
//Access for VU Memory
|
||||||
|
|
||||||
if((addr >= 0x1100c000) && (addr < 0x11010000))
|
if((addr >= 0x1100c000) && (addr < 0x11010000))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user