Implement fix from Mednafen for Fantastic Pinball Kyuutenkai.
authorgameblabla <gameblabla@protonmail.com>
Sat, 25 Sep 2021 12:20:49 +0000 (14:20 +0200)
committergameblabla <gameblabla@protonmail.com>
Sat, 25 Sep 2021 12:29:12 +0000 (14:29 +0200)
commit66425c25db8a6e4d33488977bf745af73dbe8b39
tree8ba55b1bad08821ac49172a160a78159b036f5da
parentd2e271b26ef7e8c61a371fe5fa71003e7691118e
Implement fix from Mednafen for Fantastic Pinball Kyuutenkai.

This is taken from the way Mednafen implemented it.
https://github.com/libretro-mirrors/mednafen-git/blob/563b72e377fa8284559df4df0271108d4935c9f1/src/psx/cdc.cpp#L941

This properly fixes the freeze issue in Fantastic Pinball Kyuutenkai.
Thanks notaz for assisting me with the code.

It seems not to work properly on ARM though ?
libpcsxcore/cdriso.c
libpcsxcore/cdrom.c
libpcsxcore/cdrom.h
libpcsxcore/plugins.h