mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Turn loops into range-based form
and some things suggested by cppcheck and compiler warnings.
This commit is contained in:
parent
2ff794d299
commit
404624bf0b
52 changed files with 199 additions and 230 deletions
|
@ -21,9 +21,8 @@
|
|||
namespace DiscIO
|
||||
{
|
||||
|
||||
CompressedBlobReader::CompressedBlobReader(const char *filename)
|
||||
CompressedBlobReader::CompressedBlobReader(const char *filename) : file_name(filename)
|
||||
{
|
||||
file_name = filename;
|
||||
m_file.Open(filename, "rb");
|
||||
file_size = File::GetSize(filename);
|
||||
m_file.ReadArray(&header, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue