CDVD GZip: Correct type causing index creation to fail

This commit is contained in:
refractionpcsx2 2021-12-17 11:46:21 +00:00
parent e58766745c
commit fa1b6493da
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ static void WriteIndexToFile(Access* index, const char* filename)
return;
}
auto fp = FileSystem::OpenManagedCFile(filename, "rb");
auto fp = FileSystem::OpenManagedCFile(filename, "wb");
if (!fp)
return;