IOFile: Make origin parameter to Seek() an enum class.

This commit is contained in:
Admiral H. Curtiss
2022-01-29 05:58:31 +01:00
parent c2d8191fbb
commit 36cfcb530f
26 changed files with 116 additions and 78 deletions

View File

@ -1021,7 +1021,7 @@ void LoadInput(const std::string& movie_path)
{
s_rerecords++;
tmpHeader.numRerecords = s_rerecords;
t_record.Seek(0, SEEK_SET);
t_record.Seek(0, File::SeekOrigin::Begin);
t_record.WriteArray(&tmpHeader, 1);
}