odd problem with VIF Difference mode.

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
User avatar
emoon
Posts: 91
Joined: Sun Jan 18, 2004 10:03 pm
Location: Stockholm, Sweden
Contact:

odd problem with VIF Difference mode.

Post by emoon »

Hi,

I got a quite odd problem with the vif difference mode.

Say that i have data that looks like this

Code: Select all

0x02020202 0x02020202 0x02020202 0x02020202 
it ends up like this :

Code: Select all

0x00000002 0x00000002 0x00000002 0x00000002
0x00000004 0x00000004 0x00000004 0x00000004
0x00000006 0x00000006 0x00000006 0x00000006
which just like it should be, but if i first add a bunch of

0x02020202 and then add a bunch of 0xffffffff
(ie each value sould be decresed by one) everthing fucks up
all data gets :

Code: Select all

0x000000f8 0x000000f8 0x000000f8 0x00000080
(even the data before the 0xffffffff)

if i try something like 0xffff02ff it works fine, but 0xffffffff seems like a magic
number.

Anyone got any ideas?

.emoon
Post Reply