Project

General

Profile

Actions

Emulator Issues #6288

closed

Access Violation when making a new memory card.

Added by Lioncash about 11 years ago.

Status:
Fixed
Priority:
High
Assignee:
% Done:

0%

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

Description

Steps to reproduce:

  1. Open Dolphin and go to Tools -> Memcard Manager (GC)

  2. Hit browse

  3. In the file name box, enter a file name that is not present in the current directory that is being viewed.

  4. Dolphin will kick up a prompt asking if you would like to create a new memcard. Hit "Yes"

  5. Another prompt comes up asking if you would like to format it as ASCII or SHIFT-JIS. Format it as ASCII.

  6. It will now crash.


I've tried to solve this problem today but came up with nothing.

Though, when running in Visual Studio, it breaks at line 338 in GCMemCard.cpp

"if (BE32(CurrentDir->Dir[i].Gamecode)!= 0xFFFFFFFF)"

I have a feeling either CurrentDir or Dir is not being initialized correctly. This is also evidenced by the fact that when I open up the info for CurrentDir in Visual Studio, there is "<bad ptr>" tagged on almost everything.

Actions

Also available in: Atom PDF