Project

General

Profile

Actions

Emulator Issues #10440

closed

(RHDE8P) The House of the Dead 2 and 3 Return - HotD2 crashes when exiting game from title screen

Added by ehw almost 7 years ago. Updated almost 7 years ago.

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

0%

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

Description

Game Name?

The House of the Dead 2 and 3 Return

Game ID? (right click the game in the game list, properties, info tab)

RHDE8P

MD5 Hash? (right click the game in the game list, properties, info tab, MD5 Hash: Compute)
7342c6d87e1dd0c68afdc7223bff326e

What's the problem? Describe what went wrong.

When selecting "Exit THE HOUSE OF THE DEAD 2" on The House of the Dead 2's title screen, Dolphin will crash with no apparent error message. However, The House of the Dead 3 will exit just fine.

What steps will reproduce the problem?

1.) Start the game.
2.) When the title screen for the collection itself appears, press A to select "THE HOUSE OF THE DEAD 2"
3.) When The House of the Dead 2 loads to the Title Screen, press Up on the D-pad to highlight "Exit THE HOUSE OF THE DEAD 2"
4.) Press A

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?

Dolphin 5.0-5005.

What are your PC specifications? (CPU, GPU, Operating System, more)

CPU: Intel i5 2500k
GPU: Nvidia GeForce 680 GTX
OS: Windows 10 x64

Is there any other relevant information? (e.g. logs, screenshots,
configuration files)

No.

Actions #1

Updated by JMC4789 almost 7 years ago

Can you bisect? This should have worked at some point, and I'm guessing it just stopped working due to some accuracy change that broke a hack.

Actions #2

Updated by ehw almost 7 years ago

JMC4789 wrote:

Can you bisect? This should have worked at some point, and I'm guessing it just stopped working due to some accuracy change that broke a hack.

Sure. I think I tracked it down:

5.0 - Works
5.0-3990 - Works
5.0-4067 - Works
5.0-4092 - Works
5.0-4122 - Works
5.0-4127 - Crash
5.0-4263 - Crash
5.0-4314 - Crash

It seems PR #5524 is the culprit. Since it only affects the free DSP ROM when using LLE audio, I switched to HLE and sure enough it works in 5.0-5005. However, it was working with the free DSP ROM when using LLE up until 5.0-4122, so it seems like a regression.

Actions #3

Updated by JosJuice almost 7 years ago

  • Milestone set to Current
  • Regression changed from No to Yes
  • Regression start set to 5.0-4127
Actions #4

Updated by ligfx almost 7 years ago

Okay, I took a look at the DSP ucode (thanks JMC47!) and it doesn't seem to touch the ROM at all except for allowing switching to another ucode. Maybe I messed something up in the ROM's reset sequence.

ehw, could you get Dolphin's log output of the crash and post it here? That might have some useful information about where the problem is.

Actions #5

Updated by ehw almost 7 years ago

ligfx wrote:

Okay, I took a look at the DSP ucode (thanks JMC47!) and it doesn't seem to touch the ROM at all except for allowing switching to another ucode. Maybe I messed something up in the ROM's reset sequence.

ehw, could you get Dolphin's log output of the crash and post it here? That might have some useful information about where the problem is.

I think I got it. Without pasting the whole log (which seems pretty normal up until this point), this is the very last thing written to the log file before Dolphin crashes:

16:14:129 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: Revolution OS
16:14:130 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: Kernel built : Dec 4 2007 20:25:17
16:14:130 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: Console Type : NDEV 2.1
16:14:131 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: Firmware : 21.4.15 (3/3/2010)
16:14:131 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: Memory 88 MB
16:14:132 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: MEM1 Arena : 0x805c7200 - 0x817ff0c0
16:14:132 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: MEM2 Arena : 0x90000800 - 0x933e0000
16:14:132 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: << RVL_SDK - OS release build: Dec 4 2007 20:25:17 (0x4199_60831) >>
16:14:158 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: << RVL_SDK - SC release build: Nov 30 2006 03:33:00 (0x4199_60831) >>
16:14:159 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: << RVL_SDK - NAND release build: Nov 30 2006 03:32:57 (0x4199_60831) >>
16:14:165 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: << RVL_SDK - DVD release build: Apr 24 2007 11:44:29 (0x4199_60831) >>
16:14:174 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: << RVL_SDK - VI release build: Nov 30 2006 03:31:49 (0x4199_60831) >>
16:14:182 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: << RVL_SDK - PAD release build: Nov 30 2006 03:31:43 (0x4199_60831) >>
16:14:184 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: << RVL_SDK - GX release build: Nov 30 2006 03:30:39 (0x4199_60831) >>
16:14:225 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: old: 0x00000000
16:14:248 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: << RVL_SDK - WPAD release build: May 17 2007 01:52:03 (0x4199_60831) >>
16:14:705 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: << RVL_SDK - KPAD release build: May 17 2007 15:52:00 (0x4199_60831) >>
16:15:413 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: << RVL_SDK - AI release build: Nov 30 2006 03:26:11 (0x4199_60831) >>
16:15:413 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: << RVL_SDK - AX release build: Dec 18 2006 15:43:48 (0x4199_60831) >>
16:15:415 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: << RVL_SDK - DSP release build: Nov 30 2006 03:26:46 (0x4199_60831) >>
16:15:416 DSP\DSPHWInterface.cpp:348 E[DSPLLE]: DMA ERROR: PC: 80bc, Control: 0004, Address: 000e0000, DSP Address: fffe, Size: fb39

Tested with 5.0-5084, same settings as before.

Actions #6

Updated by ligfx almost 7 years ago

That's perfect, thanks! I think I know what the problem is, and I've put up a fix at https://github.com/dolphin-emu/dolphin/pull/5912 .

@ehw, can you try out https://dl.dolphin-emu.org/prs/pr-5912-dolphin-latest-x64.7z (once it finishes building) and check that that fixes the issue for you?

Actions #7

Updated by ehw almost 7 years ago

ligfx wrote:

That's perfect, thanks! I think I know what the problem is, and I've put up a fix at https://github.com/dolphin-emu/dolphin/pull/5912 .

@ehw, can you try out https://dl.dolphin-emu.org/prs/pr-5912-dolphin-latest-x64.7z (once it finishes building) and check that that fixes the issue for you?

Yep, this fixes it. :)

Actions #8

Updated by JosJuice almost 7 years ago

  • Status changed from New to Fix pending
Actions #9

Updated by JosJuice almost 7 years ago

  • Status changed from Fix pending to Fixed
  • Fixed in set to 5.0-5106
Actions

Also available in: Atom PDF