Emulator Issues #6288
closedAccess Violation when making a new memory card.
0%
Description
Steps to reproduce:
-
Open Dolphin and go to Tools -> Memcard Manager (GC)
-
Hit browse
-
In the file name box, enter a file name that is not present in the current directory that is being viewed.
-
Dolphin will kick up a prompt asking if you would like to create a new memcard. Hit "Yes"
-
Another prompt comes up asking if you would like to format it as ASCII or SHIFT-JIS. Format it as ASCII.
-
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.