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

Function open_unit

src/cdtv.cpp:1599–1605  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1597}
1598
1599static void open_unit (void)
1600{
1601 struct device_info di = { 0 };
1602 unitnum = get_standard_cd_unit (CD_STANDARD_UNIT_CDTV);
1603 sys_command_info (unitnum, &di, 0);
1604 write_log (_T("using drive %s (unit %d, media %d)\n"), di.label, unitnum, di.media_inserted);
1605}
1606static void close_unit (void)
1607{
1608 if (unitnum >= 0)

Callers 1

cdtv_initFunction · 0.70

Calls 3

get_standard_cd_unitFunction · 0.85
sys_command_infoFunction · 0.85
write_logFunction · 0.70

Tested by

no test coverage detected