cdrom: Support subchannel reads with HW players
authorPaul Cercueil <paul@crapouillou.net>
Mon, 14 Apr 2025 19:54:38 +0000 (21:54 +0200)
committernotaz <notasas@gmail.com>
Tue, 22 Apr 2025 22:07:51 +0000 (01:07 +0300)
commite3135a84bdfb4d3b38c973ace82dd22128d2bc86
tree680dd77feecc38721bb353fda2140b2b0f98fa9c
parentc593247ecad0f829f338df3106b8f7f77a3efe56
cdrom: Support subchannel reads with HW players

Add function rcdrom_readSub(), that can be implemented by frontends, and
update rcdrom_open() to take an extra parameter, that can be set by the
frontend to tell the async CD-ROM code whether or not subchannel reads
are supported.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
frontend/libretro-cdrom.c
libpcsxcore/cdrom-async.c
libpcsxcore/cdrom-async.h