dolphin-emulator/Source/Core/DolphinQt
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
..
Config Patches for Resident Evil 2/3 audio issues 2020-12-29 14:24:46 -08:00
Debugger DolphinQt: Update register view font when Debug Font changes 2020-10-29 09:31:14 -07:00
FIFO DolphinQt: fix other widgets that use lambdas (capturing this) without setting the receiver 2020-09-12 17:53:17 -05:00
GameList Improved responsiveness when refreshing game list. 2020-10-01 22:10:16 +02:00
NetPlay Turn Config::Info into a class with getters 2020-12-11 19:54:16 +01:00
QtUtils Fix -Wsign-compare warnings 2020-11-21 02:08:09 +01:00
Settings Add tap-like fake Ethernet network interface for macOS 2020-12-15 03:01:04 +01:00
TAS Fix -Wsign-compare warnings 2020-11-21 02:08:09 +01:00
AboutDialog.cpp Qt/AboutDialog: Clean up code a bit 2019-10-13 16:11:19 +02:00
AboutDialog.h
CheatsManager.cpp Core: Allow overriding the enabling of a code 2020-12-11 10:02:14 +01:00
CheatsManager.h GameListModel instance ownership transferred back to the GameList instance. The GameListModel instance will be passed as a constructor parameter where needed. 2020-10-01 22:09:45 +02:00
CMakeLists.txt DolphinQt: Add generic tooltip controls 2020-11-28 11:49:14 -06:00
ConvertDialog.cpp Frontends: Migrate logs over to fmt 2020-11-25 21:19:08 -05:00
ConvertDialog.h RVZ: Make m_rvz a template parameter 2020-06-17 13:48:45 +02:00
DiscordHandler.cpp name some threads 2020-08-22 17:22:07 -07:00
DiscordHandler.h
DiscordJoinRequestDialog.cpp Externals: Fix include path for picojson and discord 2020-04-29 11:45:59 +02:00
DiscordJoinRequestDialog.h
DolphinQt.manifest Fix malformed manifests 2019-11-11 11:47:10 +01:00
DolphinQt.rc
DolphinQt.vcxproj DolphinQt: Add generic tooltip controls 2020-11-28 11:49:14 -06:00
DolphinQt.vcxproj.user
GCMemcardCreateNewDialog.cpp Qt/GCMemcardCreateNewDialog: Use zero values for formatting instead of accessing g_SRAM. 2020-08-24 19:33:28 +02:00
GCMemcardCreateNewDialog.h GCMemcardManager: Add GUI to create new memory card. 2020-04-28 23:59:15 +02:00
GCMemcardManager.cpp Frontends: Migrate logs over to fmt 2020-11-25 21:19:08 -05:00
GCMemcardManager.h GCMemcard: Move from global namespace into a Memcard namespace. 2020-06-16 20:18:39 +02:00
Host.cpp Merge pull request #8745 from AdmiralCurtiss/savestate-load-callback-qt 2020-04-27 15:29:55 +02:00
Host.h Merge pull request #8745 from AdmiralCurtiss/savestate-load-callback-qt 2020-04-27 15:29:55 +02:00
HotkeyScheduler.cpp Add a Skip EFB Access from CPU Hotkey 2020-10-29 21:03:06 -03:00
HotkeyScheduler.h
Info.plist.in Add new file format RVZ based on WIA 2020-06-17 13:47:34 +02:00
Main.cpp DolphinQt: Stop using qtmain 2020-09-21 17:27:10 +02:00
MainWindow.cpp Merge pull request #7714 from cristian64/avoid_leaking_gamelistmodel 2020-11-18 02:14:51 +01:00
MainWindow.h DolphinQt: Don't call UICommon::InhibitScreenSaver if already in desired state. 2020-10-22 13:19:01 -05:00
MenuBar.cpp Frontends: Migrate logs over to fmt 2020-11-25 21:19:08 -05:00
MenuBar.h DolphinQt: Add fastmem option to debugger UI 2020-06-02 06:18:52 -04:00
NKitWarningDialog.cpp Add Metal Gear Solid: The Twin Snakes to NKit warning message 2020-10-04 12:22:27 +02:00
NKitWarningDialog.h DolphinQt: Show a warning when launching an NKit disc image 2020-07-29 21:05:57 +02:00
qt.conf
qt.conf.win
RenderWidget.cpp Merge pull request #8819 from JosJuice/panic-alert-deadlock-pause-on-focus-loss 2020-09-15 11:46:46 -04:00
RenderWidget.h Qt/RenderWidget: Remove fill background functionality 2020-03-11 23:13:45 +10:00
resource.h
ResourcePackManager.cpp DolphinQt: setTabKeyNavigation(false) on QTableWidget and QTableView. 2020-02-06 20:48:45 -06:00
ResourcePackManager.h
Resources.cpp
Resources.h
SearchBar.cpp
SearchBar.h
Settings.cpp Add Fallback Region to configuration menu 2020-11-28 15:40:21 -05:00
Settings.h Add Fallback Region to configuration menu 2020-11-28 15:40:21 -05:00
ToolBar.cpp Improved responsiveness when refreshing game list. 2020-10-01 22:10:16 +02:00
ToolBar.h
Translation.cpp Frontends: Migrate logs over to fmt 2020-11-25 21:19:08 -05:00
Translation.h
Updater.cpp
Updater.h
WiiUpdate.cpp
WiiUpdate.h