cdrom: Update real-CDROM API
authorPaul Cercueil <paul@crapouillou.net>
Mon, 14 Apr 2025 19:26:29 +0000 (21:26 +0200)
committernotaz <notasas@gmail.com>
Tue, 22 Apr 2025 22:07:51 +0000 (01:07 +0300)
commitc593247ecad0f829f338df3106b8f7f77a3efe56
tree25215007750bedcff9244e190d1838a3a4bf35c0
parente0bb48740eb36639ed28db162c69bd3a7b3235b0
cdrom: Update real-CDROM API

Rename cdrom_read_sector() to rcdrom_readSector(), and
cdrom_is_media_inserted() to rcdrom_isMediaInserted() to match the rest
of the "rcdrom" API.

Update rcdrom_open() to return a handle, which will then be passed
around to every other rcdrom API call.

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