Next round of sonarlint cleanups
This commit is contained in:
@@ -117,7 +117,7 @@ typedef struct {
|
||||
uint64_t vol_size_offsets[2];
|
||||
uint64_t pt_meta_offsets[2];
|
||||
int format;
|
||||
int use_version_suffix : 1;
|
||||
uint8_t use_version_suffix : 1;
|
||||
size_t metadata_sectors, all_sectors, entry_map_size, sector_size, file_fifo_pos;
|
||||
uint8_t *metadata;
|
||||
|
||||
@@ -631,6 +631,9 @@ pad_susp:
|
||||
if (!(*q & 1)) /* padding for even file ID lengths */
|
||||
*p++ = 0;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
if ((p - data) > 255)
|
||||
|
||||
@@ -116,7 +116,9 @@ typedef struct {
|
||||
/* The addresses sent from the guest are absolute, ie. a LBA of 0 corresponds to a MSF of 00:00:00. Otherwise, the counter displayed by the guest is wrong:
|
||||
there is a seeming 2 seconds in which audio plays but counter does not move, while a data track before audio jumps to 2 seconds before the actual start
|
||||
of the audio while audio still plays. With an absolute conversion, the counter is fine. */
|
||||
#ifdef MSFtoLBA
|
||||
#undef MSFtoLBA
|
||||
#endif
|
||||
#define MSFtoLBA(m, s, f) ((((m * 60) + s) * 75) + f)
|
||||
|
||||
#define CD_BCD(x) (((x) % 10) | (((x) / 10) << 4))
|
||||
|
||||
Reference in New Issue
Block a user