MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / unitisopen

Function unitisopen

src/blkdev_cdimage.cpp:126–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124static uae_sem_t play_sem;
125
126static struct cdunit *unitisopen (int unitnum)
127{
128 struct cdunit *cdu = &cdunits[unitnum];
129 if (cdu->open)
130 return cdu;
131 return NULL;
132}
133
134
135static struct cdtoc *findtoc (struct cdunit *cdu, int *sectorp, bool data)

Callers 8

command_pauseFunction · 0.70
command_stopFunction · 0.70
command_playFunction · 0.70
command_qcodeFunction · 0.70
command_volumeFunction · 0.70
command_rawreadFunction · 0.70
command_readFunction · 0.70
command_tocFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected