Project

General

Profile

Actions

Emulator Issues #8961

closed

GCI Folder sanity checks

Added by lpfaint99 over 9 years ago. Updated about 9 years ago.

Status:
Fixed
Priority:
High
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Current
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
Yes
Relates to maintainability:
No
Regression start:
Fixed in:

Description

A pretty major bug was reported in the following thread: https://forums.dolphin-emu.org/Thread-all-gci-files-corrupted

Not sure if there are easy steps to reproduce but the fix should be trivial
either: change 'wb' to 'r+b' here https://github.com/dolphin-emu/dolphin/blob/master/Source/Core/Core/HW/GCMemcardDirectory.cpp#L575
or add a call to m_saves[i].LoadSaveBlocks before opening the file for writing

Actions

Also available in: Atom PDF