GameSettings: Add patch for Dead to Rights audio

This game follows the anti-pattern of calling memset on a buffer in the
midst of being DMA copied to ARAM, then calling a DVD read function that
effectively cancels the memset with dcbi instructions. Dolphin does not
emulate dcache for performance reasons, so this patch removes the
offending memset call.

Patches are included for two regions and are enabled by default.

https://bugs.dolphin-emu.org/issues/12759
This commit is contained in:
smurf3tte 2022-09-23 21:44:08 -07:00
parent 22197c09a3
commit dd81d731e4
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,11 @@
# GDREAF - Dead to Rights
[OnFrame]
# This game follows the anti-pattern of calling memset on a buffer in the midst
# of being DMA copied to ARAM, then calling a DVD read function that effectively
# cancels the memset with dcbi instructions. Dolphin does not emulate dcache for
# performance reasons, so this patch removes the offending memset call.
$Fix audio issues
0x8000AF34:dword:0x60000000
[OnFrame_Enabled]
$Fix audio issues

View file

@ -0,0 +1,11 @@
# GDRP69 - Dead to Rights
[OnFrame]
# This game follows the anti-pattern of calling memset on a buffer in the midst
# of being DMA copied to ARAM, then calling a DVD read function that effectively
# cancels the memset with dcbi instructions. Dolphin does not emulate dcache for
# performance reasons, so this patch removes the offending memset call.
$Fix audio issues
0x8000B7EC:dword:0x60000000
[OnFrame_Enabled]
$Fix audio issues