diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2022-01-29 05:58:31 +0100 |
|---|---|---|
| committer | Admiral H. Curtiss <pikachu025@gmail.com> | 2022-01-29 06:49:21 +0100 |
| commit | 36cfcb530f6810afca93e75c47f767a453a99361 (patch) | |
| tree | 10070f47738c1662a74dd101993dc76d7fbfbca0 /Source/Core/DiscIO/NANDImporter.cpp | |
| parent | c2d8191fbb2115ddbf09bb026dd68b81d5624394 (diff) | |
IOFile: Make origin parameter to Seek() an enum class.
Diffstat (limited to 'Source/Core/DiscIO/NANDImporter.cpp')
| -rw-r--r-- | Source/Core/DiscIO/NANDImporter.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/NANDImporter.cpp b/Source/Core/DiscIO/NANDImporter.cpp index ea72c3e6c4..ccd1525b62 100644 --- a/Source/Core/DiscIO/NANDImporter.cpp +++ b/Source/Core/DiscIO/NANDImporter.cpp @@ -71,7 +71,9 @@ bool NANDImporter::ReadNANDBin(const std::string& path_to_bin, m_update_callback(); file.ReadBytes(&m_nand[i * NAND_BLOCK_SIZE], NAND_BLOCK_SIZE); - file.Seek(NAND_ECC_BLOCK_SIZE, SEEK_CUR); // We don't care about the ECC blocks + + // We don't care about the ECC blocks + file.Seek(NAND_ECC_BLOCK_SIZE, File::SeekOrigin::Current); } m_nand_keys.resize(NAND_KEYS_SIZE); |
