Parasite Eve 2 Load/Save with HLE-Bios :)

Developer
May 15, 2014 at 5:30 PM
Edited May 15, 2014 at 7:26 PM
Hello Everyone,

I got Parasite Eve 2 to save and load the memory card with the hle-bios.

I added the the DeliverEvent after the nfile = 1
strcpy(ffile, Ra0);
pfile = ffile+5;
nfile = 1;
   DeliverEvent(0x11, 0x2); /* 0xf0000011, 0x0004 */
This also so seems to fix capcom vs snk and other games not loading when the memory
card is empty. Just to recap you need to add this to get parasite eve 1 to save and load on both the
buread and buwrite fuctions.


if (FDesc[1 + mcd].mode & 0x8000) { \
 DeliverEvent(0x11, 0x2); \
 DeliverEvent(0x81, 0x2); \
} \

And changing the - 1 to 0 in line 1884 in psxbios.c fixes Legacy Of Kain Blood Omen Loading.

dir->name[sizeof(dir->name) - 0] = '\0'; \

Can someone update this to pcsxr?
Coordinator
May 15, 2014 at 6:41 PM
Edited May 16, 2014 at 7:19 AM
struct DIRENTRY {
    char name[20];
    s32 attr;
    s32 size;
    u32 next;
    s32 head;
    char system[4];
};
the 'name' can be indexed with 0-19.
sizeof(dir->name) = 20.
'attr' 'will be damaged with name[20].
Developer
May 23, 2014 at 1:16 AM
Hello Everyone,

Can any of this patches be added to pcsxr?