Skip to content

Commit

Permalink
formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
superg committed Oct 20, 2024
1 parent d1d984b commit e4848ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cd/fix_msf.ixx
Original file line number Diff line number Diff line change
Expand Up @@ -156,14 +156,14 @@ export void redumper_fix_msf(Context &ctx, Options &options)
if(memcmp(sector.sync, CD_DATA_SYNC, sizeof(CD_DATA_SYNC)))
sector_correct = false;
if(lba_base && *lba_base + s != BCDMSF_to_LBA(sector.header.address))
sector_correct = false;
sector_correct = false;

if(sector_correct)
{
// store base LBA address once
if(!lba_base)
lba_base = BCDMSF_to_LBA(sector.header.address);

// always cache last good sector to be used as a repair template
if(!data_sector_is_dummy(sector))
sector_last = sector;
Expand Down

0 comments on commit e4848ad

Please sign in to comment.