mirror of https://github.com/PCSX2/pcsx2.git
ipu: Revert Klonoa 2 workaround
This reverts commit 10ee832dc1
.
The workaround should be unnecessary now that the indx4 is properly
aligned.
This commit is contained in:
parent
08cb843180
commit
0277b69ff1
|
@ -119,18 +119,8 @@ int IPU_Fifo_Output::write(const u32 *value, uint size)
|
|||
size -= transsize;
|
||||
while (transsize > 0)
|
||||
{
|
||||
//For some reason this causes stack corruption or something
|
||||
//and it loses the pointer causing access violations in Klonoa 2 - Ref
|
||||
//CopyQWC(&data[writepos], value);
|
||||
//Here's the workaround
|
||||
data[writepos] = value[0];
|
||||
writepos = (writepos + 1) & 31;
|
||||
data[writepos] = value[1];
|
||||
writepos = (writepos + 1) & 31;
|
||||
data[writepos] = value[2];
|
||||
writepos = (writepos + 1) & 31;
|
||||
data[writepos] = value[3];
|
||||
writepos = (writepos + 1) & 31;
|
||||
CopyQWC(&data[writepos], value);
|
||||
writepos = (writepos + 4) & 31;
|
||||
value += 4;
|
||||
--transsize;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue