Skip to content

Commit

Permalink
Move break inside the {} of the case
Browse files Browse the repository at this point in the history
  • Loading branch information
sum2012 committed Feb 21, 2025
1 parent e877b81 commit e62e515
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Core/HLE/AtracCtx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,8 @@ int AnalyzeAtracTrack(u32 addr, u32 size, Track *track) {
}

}
break;
}
break;
case FACT_CHUNK_MAGIC:
{
track->endSample = Memory::Read_U32(addr + offset);
Expand All @@ -386,8 +386,8 @@ int AnalyzeAtracTrack(u32 addr, u32 size, Track *track) {
u32 largerOffset = Memory::Read_U32(addr + offset + 8);
sampleOffsetAdjust = track->firstSampleOffset - largerOffset;
}
break;
}
break;
case SMPL_CHUNK_MAGIC:
{
if (chunkSize < 32) {
Expand Down Expand Up @@ -417,8 +417,8 @@ int AnalyzeAtracTrack(u32 addr, u32 size, Track *track) {
return hleReportError(Log::ME, ATRAC_ERROR_BAD_CODEC_PARAMS, "loop starts after it ends");
}
}
break;
}
break;
case DATA_CHUNK_MAGIC:
{
bfoundData = true;
Expand Down

0 comments on commit e62e515

Please sign in to comment.