Project

General

Profile

Actions

Emulator Issues #8721

closed

Memory checks don't work, or make Dolphin crash

Added by bubu19990316 almost 9 years ago. Updated almost 3 years 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:

Description

Game Name?
Any game

Game ID?
*

What's the problem? Describe what went wrong in few words.
When a memory value being checked is changed, nothing happens. In 4.0-6866 if the Interpreter is used, Dolphin crashes when a memory breakpoint is added.

What did you expect to happen instead?
The game to pause if a value being checked is changed. In case of 4.0-6866 with Interpreter: no crash when adding a memory breakpoint.

What steps will reproduce the problem?

  1. Add a memory breakpoint
    If we're using 4.0-6866 with Interpreter, we've already crashed. Otherwise:
  2. Induce a change in the memory value being checked

Dolphin 3.5 and 3.5-367 are old versions of Dolphin that have
known issues and bugs, so don't report issues about them and test the
latest Dolphin version first.
Which versions of Dolphin did you test on?

Does using an older version of Dolphin solve your issue? If yes, which
versions of Dolphin used to work?
No.

What are your PC specifications? (including, but not limited to: Operating
System, CPU and GPU)

Computer 1:

Windows 7 x64 / Lubuntu 15.04
AMD Athlon II X3 450 @ 3.2 GHz
Nvidia GeForce GT 440
3 GB RAM

Computer 2:

Windows 7 x64
AMD A4-330M @ 1.9 GHz
ATI AMD Radeon HD 6480G
4 GB RAM

Is there any other relevant information? (e.g. logs, screenshots,
configuration files)
I tracked down the 4.0-6866 Interpreter crash to this line:
memset(region, 0xCC, region_size);
in x64Emitter.PoisonMemory(). JIT -> Clear JIT Cache works without problems otherwise.

I've tried disabling JIT Cache (JIT -> Disable JIT Cache) to see if it helps, but the games just give me a black screen, stuck at "Clearing code cache".

The games I used to test are Paper Mario: The Thousand Year Door (NTSC) (I set a breakpoint at 0x003E1B88, the selected save file), Super Smash Bros Brawl (PAL) (0x0136C4E3, selected menu option in the main menu) and Super Paper Mario (0x004D05AF, selected save file).

Actions

Also available in: Atom PDF