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

Function get_toc

src/cdtv.cpp:134–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134static int get_toc (void)
135{
136 datatrack = 0;
137 if (!sys_command_cd_toc (unitnum, &toc))
138 return 0;
139 last_cd_position = toc.lastaddress;
140 if (toc.first_track == 1 && (toc.toc[toc.first_track_offset].control & 0x0c) == 0x04)
141 datatrack = 1;
142 return 1;
143}
144
145static int get_qcode (void)
146{

Callers 2

dev_threadFunction · 0.70
restore_cdtv_finishFunction · 0.70

Calls 1

sys_command_cd_tocFunction · 0.85

Tested by

no test coverage detected