CDVD GZip: Correct type causing index creation to fail

This commit is contained in:
refractionpcsx2 committed 2021-12-17 11:46:31 +00:00
1 parent e58766745c
commit fa1b6493da
1 file changed
+1 -1
+1 -1
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;