psxbios : Several fixes to malloc.
authorgameblabla <gameblabla@openmailbox.org>
Thu, 18 Jul 2019 00:21:53 +0000 (02:21 +0200)
committergameblabla <gameblabla@openmailbox.org>
Thu, 18 Jul 2019 00:21:53 +0000 (02:21 +0200)
commit26b964b587007caace43f0dda8db1ac4a8c97e3d
tree6eab45d0ba1951b81cb47aaca31aec14c6d046d6
parent112dddf5f26989d55b257f51bdcb9236bc7c1de0
psxbios : Several fixes to malloc.

- Don't allow malloc to init memory if heap is invalid
According to nocash documentation, malloc will not allocate if heap size
is too small or invalid.

- Also merge some fixes from PCSX4ALL fork by senquack in order to allow
Burning Road to run.
libpcsxcore/psxbios.c