mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
cdrom: fix prints
This commit is contained in:
parent
1977bc9d4a
commit
6cf3b0b769
@ -931,23 +931,23 @@ int cdrom_read_subq(libretro_vfs_implementation_file *stream, unsigned char *buf
|
|||||||
if (/*(control == 4 || control == 6) && */adr == 1 && tno == 0 && point >= 1 && point <= 99)
|
if (/*(control == 4 || control == 6) && */adr == 1 && tno == 0 && point >= 1 && point <= 99)
|
||||||
{
|
{
|
||||||
printf("[CDROM] - Session#: %d TNO %d POINT %d ", session_num, tno, point);
|
printf("[CDROM] - Session#: %d TNO %d POINT %d ", session_num, tno, point);
|
||||||
printf("[CDROM] Track start time: (MSF %02u:%02u:%02u) ", (unsigned)pmin, (unsigned)psec, (unsigned)pframe);
|
printf("Track start time: (MSF %02u:%02u:%02u) ", (unsigned)pmin, (unsigned)psec, (unsigned)pframe);
|
||||||
}
|
}
|
||||||
else if (/*(control == 4 || control == 6) && */adr == 1 && tno == 0 && point == 0xA0)
|
else if (/*(control == 4 || control == 6) && */adr == 1 && tno == 0 && point == 0xA0)
|
||||||
{
|
{
|
||||||
printf("[CDROM] - Session#: %d TNO %d POINT %d ", session_num, tno, point);
|
printf("[CDROM] - Session#: %d TNO %d POINT %d ", session_num, tno, point);
|
||||||
printf("[CDROM] First Track Number: %d ", pmin);
|
printf("First Track Number: %d ", pmin);
|
||||||
printf("[CDROM] Disc Type: %d ", psec);
|
printf("Disc Type: %d ", psec);
|
||||||
}
|
}
|
||||||
else if (/*(control == 4 || control == 6) && */adr == 1 && tno == 0 && point == 0xA1)
|
else if (/*(control == 4 || control == 6) && */adr == 1 && tno == 0 && point == 0xA1)
|
||||||
{
|
{
|
||||||
printf("[CDROM] - Session#: %d TNO %d POINT %d ", session_num, tno, point);
|
printf("[CDROM] - Session#: %d TNO %d POINT %d ", session_num, tno, point);
|
||||||
printf("[CDROM] Last Track Number: %d ", pmin);
|
printf("Last Track Number: %d ", pmin);
|
||||||
}
|
}
|
||||||
else if (/*(control == 4 || control == 6) && */adr == 1 && tno == 0 && point == 0xA2)
|
else if (/*(control == 4 || control == 6) && */adr == 1 && tno == 0 && point == 0xA2)
|
||||||
{
|
{
|
||||||
printf("[CDROM] - Session#: %d TNO %d POINT %d ", session_num, tno, point);
|
printf("[CDROM] - Session#: %d TNO %d POINT %d ", session_num, tno, point);
|
||||||
printf("[CDROM] Lead-out runtime: (MSF %02u:%02u:%02u) ", (unsigned)pmin, (unsigned)psec, (unsigned)pframe);
|
printf("Lead-out runtime: (MSF %02u:%02u:%02u) ", (unsigned)pmin, (unsigned)psec, (unsigned)pframe);
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user