psxbios: Add checks for bzero.
authorgameblabla <gameblabla@openmailbox.org>
Thu, 18 Jul 2019 00:15:27 +0000 (02:15 +0200)
committergameblabla <gameblabla@openmailbox.org>
Thu, 18 Jul 2019 00:15:27 +0000 (02:15 +0200)
commit01724d23d3e65e6ca12f3800d79c7de6ec241ea2
tree83d9d219094eb6029d8d9fa61bc25f2dbe196961
parent0148ffb739a05e87ed9eaaf623c754d3d50ee2ab
psxbios: Add checks for bzero.

Only return 0 if size is invalid. (0 or 0x7FFFFFFF), return dst if not.
libpcsxcore/psxbios.c