Skip to content

Commit

Permalink
CDVD GZip: Correct type causing index creation to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
refractionpcsx2 committed Dec 17, 2021
1 parent e587667 commit fa1b649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcsx2/CDVD/GzippedFileReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit fa1b649

Please sign in to comment.