mirror of https://github.com/PCSX2/pcsx2.git
Fixed bug from Issue 144.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@954 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
076e9e5386
commit
a388d2969c
|
@ -607,7 +607,7 @@ static void VIFunpack(u32 *data, vifCode *v, int size, const unsigned int VIFdma
|
||||||
if ((unpackType == 0xC) && (vifRegs->cycle.cl == vifRegs->cycle.wl)) //No use when SSE is available
|
if ((unpackType == 0xC) && (vifRegs->cycle.cl == vifRegs->cycle.wl)) //No use when SSE is available
|
||||||
{
|
{
|
||||||
// v4-32
|
// v4-32
|
||||||
if ((vifRegs->mode == 0) && !(vifRegs->code & 0x10000000) && (vif->usn == 0))
|
if (v->size == (size >> 2) && (vifRegs->mode == 0) && !(vifRegs->code & 0x10000000) && (vif->usn == 0))
|
||||||
{
|
{
|
||||||
vifRegs->num -= size >> 4;
|
vifRegs->num -= size >> 4;
|
||||||
memcpy_fast((u8*)dest, cdata, size);
|
memcpy_fast((u8*)dest, cdata, size);
|
||||||
|
|
Loading…
Reference in New Issue