dolphin/Data/Sys
smurf3tte f3b8a985e7 Patches for Resident Evil 2/3 audio issues
These games are erroneously zeroing buffers before they can be fully copied to ARAM by DMA. The responsible memset() calls are followed by a call to DVDRead() which issues dcbi instructions that effectively cancel the memset() on real hardware. Because Dolphin lacks dcache emulation, the effects of the memset() calls are observed, which causes missing audio.

In a comment on the original bug, phire noted that the issue can be corrected by simply nop'ing out the offending memset() calls. Because the games dynamically load different .rel executables based on the character and/or language, the addresses of these calls can vary.

To deal generally with the problem of code being dynamically loaded to fixed, known addresses, the patch engine is extended to support conditional patches which require a match against a known value. This sort of thing is already achievable with Action Replay/Gecko codes, but their use depends on enabling cheats globally in Dolphin, which is not a prerequisite shared by patches.

Patches are included for every region, character, and language combination. They are enabled by default.

The end result is an approximation of the games' behavior on real hardware without the associated complexity of proper dcache emulation.

https://bugs.dolphin-emu.org/issues/9840
2020-12-29 14:24:46 -08:00
..
GameSettings Patches for Resident Evil 2/3 audio issues 2020-12-29 14:24:46 -08:00
GC dsp_rom: skip bootucode_ax when running from entrypoint 2017-08-10 10:53:12 -07:00
Maps
Profiles/Wiimote ControllerEmu: Increase "IMUPointer" "Total Yaw" default value to match that of regular "Point" settings. 2020-09-28 18:09:34 -05:00
Resources Resources: Make dolphin_logo.png square 2020-03-06 19:13:45 +01:00
Shaders Remove AsciiArt shader 2020-10-05 21:44:56 -07:00
Themes Mark files as non-executable 2019-06-02 12:31:40 +01:00
Wii/shared2/wc24 Data: Remove /shared2/{ec,succession} 2018-05-12 18:59:22 +02:00
codehandler.bin fixed 'Load into Gecko Register' codetype 2019-05-13 21:48:40 -07:00
totaldb.dsy totaldb.dsy: RecvFrom and SendTo added 2017-11-19 23:18:50 +01:00
wiitdb-de.txt Update GameTDB title files 2019-11-06 23:44:49 +01:00
wiitdb-en.txt Update GameTDB title files 2019-11-06 23:44:49 +01:00
wiitdb-es.txt Update GameTDB title files 2019-11-06 23:44:49 +01:00
wiitdb-fr.txt Update GameTDB title files 2019-11-06 23:44:49 +01:00
wiitdb-it.txt Update GameTDB title files 2019-11-06 23:44:49 +01:00
wiitdb-ja.txt Update GameTDB title files 2019-11-06 23:44:49 +01:00
wiitdb-ko.txt Update GameTDB title files 2019-11-06 23:44:49 +01:00
wiitdb-nl.txt Update GameTDB title files 2019-11-06 23:44:49 +01:00
wiitdb-pt.txt Update GameTDB title files 2019-11-06 23:44:49 +01:00
wiitdb-ru.txt Update GameTDB title files 2019-11-06 23:44:49 +01:00
wiitdb-zh_CN.txt Update GameTDB title files 2019-11-06 23:44:49 +01:00
wiitdb-zh_TW.txt Update GameTDB title files 2019-11-06 23:44:49 +01:00