Emulator Issues #11809
Gecko codes are loaded as ffffffff 00000000
I believe this is not game-related, I tested with :
Super Smash Bros Melee
Mario Kart Double Dash!
Game ID? (right click the game in the game list, Properties, Info tab)
MD5 Hash? (right click the game in the game list, Properties, Verify tab, Verify Integrity button)
What's the problem? Describe what went wrong.
Gecko codes are loaded incorrectly. Any code from disk or after saving is displayed as a series of such lines :
While on disk they look like this :
$test 040249a4 38600001 *040249a4 38600001
What steps will reproduce the problem?
Any code loaded from disk trigger the issue (distributed with Dolphin, downloaded or manually added). See screenshots.
Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.
Is the issue present in the latest stable version?
Yes : 5.0-7309 (commit 10d230a512b99aee66f7343481ed13d83557de22)
If the issue isn't present in the latest stable version, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)
At least since 5.0-9575, commit 46918f420d443c3a32bd27170e3fa0e4f7bc5255. I have some trouble building old versions, but I will try if necessary.
What are your PC specifications? (CPU, GPU, Operating System, more)
Archlinux up-to-date as of 2019-07-28.
Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)
See attached screenshots.
Thank you for this emulator !
#5 Updated by Itrimel about 1 month ago
Nope, I'm using the "fr-FR" locale
In the meantime, I tried to search a bit by myself where it could could from, and I found this : in Core/Core/GeckoCodeConfig.cpp, in LoadCodes, the content of "lines" at line 140 is correct, but at line 174, when the data is copied to new_code, it is wrong. In between, the code goes through std::istringstream, which is beyond my basic knowledge of C++ .