From: gameblabla Date: Thu, 18 Jul 2019 00:34:31 +0000 (+0200) Subject: psxbios: Fixes save issues on Parasite Eve II, Parasite Eve I and others X-Git-Tag: r23~156^2~19 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=f15146144475b363f46500c171ffd6555f585502;hp=f15146144475b363f46500c171ffd6555f585502;p=pcsx_rearmed.git psxbios: Fixes save issues on Parasite Eve II, Parasite Eve I and others Merging never-merged fix by Solus for Parasite Eve. I also fixed some GCC warnings about dir->name going out of bounds too. We also make sure to only add '/0' if string is not full and right after the last character in the dir array. This fixes saving/loading in Parasite Eve II, Parasite Eve. It also fixed regressions for the LEGO Racers where other games would break, meaning this should be the proper fix for saves. We're also using our own strlen implementation to avoid any issues or relying on the libc's own strlen. ---