mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
IOFile: Make origin parameter to Seek() an enum class.
This commit is contained in:
parent
c2d8191fbb
commit
36cfcb530f
26 changed files with 116 additions and 78 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue