mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
clang-modernize -loop-convert
and some manual adjustments
This commit is contained in:
parent
f401263867
commit
c89f04a7c5
22 changed files with 339 additions and 293 deletions
|
@ -34,8 +34,10 @@ void SectorReader::SetSectorSize(int blocksize)
|
|||
}
|
||||
|
||||
SectorReader::~SectorReader() {
|
||||
for (int i = 0; i < CACHE_SIZE; i++)
|
||||
delete [] cache[i];
|
||||
for (u8*& block : cache)
|
||||
{
|
||||
delete [] block;
|
||||
}
|
||||
}
|
||||
|
||||
const u8 *SectorReader::GetBlockData(u64 block_num)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue