Dolphin, the GameCube and Wii emulator - Forums

Full Version: [patch] Debug assertion error with Phoenix Wright WiiWare game
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I received a "string subscript out of range" error when I attempted to load Dolphin in debug mode. I traced the problem to the WiiWare Phoenix Wright game having a blank string where the Dutch language title for the game would be. The patch adds a check to the relevant string function in StringUtil.cpp.

This may be something that is not in there for a good reason. I just started looking at the code and thought this might be useful to somebody with the same circumstances.

Also attached is the error that would come up when the debug version of the program loads. Oddly enough, the problem only presents itself when debugging. When I switched to release mode, the problem went away. I therefore conclude that it's possible that this may not be an adequate or completely thought out fix.
Thanks! I pushed a slightly modified version of this patch to our Git repository.