psxbios: Fix out-of-bounds issue.
authorgameblabla <gameblabla@openmailbox.org>
Thu, 18 Jul 2019 00:09:56 +0000 (02:09 +0200)
committergameblabla <gameblabla@openmailbox.org>
Thu, 18 Jul 2019 00:09:56 +0000 (02:09 +0200)
commita66d30585863c4fabbb724a69e30e3282c39bdc3
treed4352e3b6443608fb51964e0424deb26a54ab3e6
parentb29f3be0ac3fb01453eae2dabf8471b262881b30
psxbios: Fix out-of-bounds issue.

Make sure to return 0xff is no TCBs are available.
Thanks senquack for the proper fix.
libpcsxcore/psxbios.c