Memset Tomb Raider 4

Jun 20, 2015 at 11:59 AM
Tomb Raider 4 seems to have an issue with the new memset. Lara will do a side step instead of
putting in the item. With old memset it works fine.

This is the old memset.

void psxBios_memset() { // 0x2b
char *p = (char *)Ra0;
while (a2-- > 0) *p++ = (char)a1;

v0 = a0; pc0 = ra;
Jun 23, 2015 at 10:05 PM
Hello Edgbla,

In case you did not get my email. I'm posting my response here as well.

If you mean changing psxMu8ref(a0) = a1; to *PSXM(a0) = a1;

Yes it seems to work both with Contra Legacy of War and Tomb Raider 4.
Jun 23, 2015 at 10:25 PM