Cdrom initialization

i was playing around with the cdrom code last night on win98.
i noticed if i only do an SDL_INIT_CDROM, the cdrom code never
"sees" any discs in the drive. if i do SDL_INIT_EVERYTHING the
cdrom works just as expected.

i haven’t gone through and tried all the init combinations, but
it seemed in my case the cdrom code is dependent on some other
section of SDL? my guess is SDL_INIT_VIDEO needs to be initialized
so SDL can receive messages from Windows that the CD drive status
has changed?

i’m hoping someone is framiliar with this, and can save me the
time of going through and trying guess and figure it all out.

thanks

“Pete Shinners” <@Pete_J_Shinners> wrote

i was playing around with the cdrom code last night on win98.
i noticed if i only do an SDL_INIT_CDROM, the cdrom code never
"sees" any discs in the drive. if i do SDL_INIT_EVERYTHING the
cdrom works just as expected.

nevermind. it turns out i am not so smart. :[
as it happens, the occasional call to SDL_CDStatus() helps
keeps my SDL_CD structures filled out correctly.