mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Loaders: Fix a mismatched delete call
This commit is contained in:
parent
28c754a757
commit
9f1bebe201
1 changed files with 1 additions and 1 deletions
|
@ -579,7 +579,7 @@ void CachingFileLoader::SaveIntoCache(s64 pos, size_t bytes, bool readingAhead)
|
|||
memcpy(buf, wholeRead + (i << BLOCK_SHIFT), BLOCK_SIZE);
|
||||
blocks_[cacheStartPos + i] = BlockInfo(buf);
|
||||
}
|
||||
delete wholeRead;
|
||||
delete[] wholeRead;
|
||||
}
|
||||
|
||||
cacheSize_ += blocksToRead;
|
||||
|
|
Loading…
Add table
Reference in a new issue