Emulator Issues #12481
closedMemory debugger does not allow negative offsets while some instructions use them
0%
Description
Game Name?
N/A
Game ID? (right click the game in the game list, Properties, Info tab)
N/A
MD5 Hash? (right click the game in the game list, Properties, Verify tab, Verify Integrity button)
N/A
What's the problem? Describe what went wrong.
I've been trying to use Dolphin's debugging tools and ran into significant annoyance: offset field in memory screen doesn't allow for negative values. Meanwhile, lwz
instruction with negative offset appears in code listing and is totally as far as I can tell (not a PowerPC pro, but it looks fine to me).
What steps will reproduce the problem?
- Use Memory page in dolphin's development tools
- Enter negative offset
Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.
5.0-13962
Is the issue present in the latest stable version?
No idea, probably yes
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.)
N/A
If your issue is a graphical issue, please attach screenshots and record a three frame fifolog of the issue if possible. Screenshots showing what it is supposed to look like from either console or older builds of Dolphin will help too. For more information on how to use the fifoplayer, please check here: https://wiki.dolphin-emu.org/index.php?title=FifoPlayer
It isn't
What are your PC specifications? (CPU, GPU, Operating System, more)
Not relevant to issue
Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)
Selected command refers to memory from register with negative offset:
But dolphin does not like negative memory offsets:
Files
Updated by Dentomologist 3 months ago
This was fixed by https://github.com/dolphin-emu/dolphin/pull/10079.