CDROM: Rename Reset+Init commands approperly, fix "This is Football 2" lockup (#205)
authorgameblabla <gameblabla@users.noreply.github.com>
Thu, 26 Aug 2021 18:05:23 +0000 (18:05 +0000)
committerGitHub <noreply@github.com>
Thu, 26 Aug 2021 18:05:23 +0000 (21:05 +0300)
commitb0bd140dee2602140edacd20dc868c9bfdd588b2
tree422f21f12fc4e230315322bdba3353c312ebb59c
parentcfeb7cab2ce1083d54e46a102ab02f680615064d
CDROM: Rename Reset+Init commands approperly, fix "This is Football 2" lockup (#205)

Upon the reset command being issued, we need to set the Mode to 0x20
(as it was confirmed in Mednafen) and also disable the muting.

We also change the seektime for the reset command appropriately.
Please see Mednafen's implementation as reference :
https://github.com/libretro-mirrors/mednafen-git/blob/1899500078169e787f86eb5302a3f35abdaa8764/src/psx/cdc.cpp#L2007

This fixes the black screen issue in "This is Football 2".
This also fixes the black screen issue in Pooh's Party.
libpcsxcore/cdrom.c