Project

General

Profile

Actions

Emulator Issues #12481

closed

Memory debugger does not allow negative offsets while some instructions use them

Added by v1993 over 3 years ago. Updated 2 months ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

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

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?

  1. Use Memory page in dolphin's development tools
  2. 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:
Example of lwz command with negative offset
But dolphin does not like negative memory offsets:
Dolphin doesn't like it


Files

Screenshot_20210411_004022.png (17.4 KB) Screenshot_20210411_004022.png Example of lwz command with negative offset v1993, 04/10/2021 09:40 PM
Screenshot_20210411_004238.png (3.65 KB) Screenshot_20210411_004238.png Dolphin doesn't like it v1993, 04/10/2021 09:42 PM
Actions

Also available in: Atom PDF