| 132 | } |
| 133 | |
| 134 | static 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 | |
| 145 | static int get_qcode (void) |
| 146 | { |
no test coverage detected