dolphin-emulator/Source/Core/Core
Lioncash 7d1bd565a6 DSP: Eliminate most global state
An unfortunately large single commit that deglobalizes the DSP code.
(which I'm very sorry about).

This would have otherwise been extremely difficult to separate due to
extensive use of the globals in very coupling ways that would result in
more scaffolding to work around than is worth it.

Aside from the video code, I believe only the DSP code is the hairiest
to deal with in terms of globals, so I guess it's best to get this dealt
with right off the bat.

A summary of what this commit does:
  - Turns the DSPInterpreter into its own class
    This is the most involved portion of this change.
    The bulk of the changes are turning non-member functions into member
    functions that would be situated into the Interpreter class.

  - Eliminates all usages to globals within DSPCore.
    This generally involves turning a lot of non-member functions into
    member functions that are either situated within SDSP or DSPCore.

  - Discards DSPDebugInterface (it wasn't hooked up to anything,
    and for the sake of eliminating global state, I'd rather get rid of
    it than think up ways for this class to be integrated with
    everything else.

  - Readjusts the DSP JIT to handle calling out to member functions.
    In most cases, this just means wrapping respective member function
    calles into thunk functions.

Surprisingly, this doesn't even make use of the introduced System class.
It was possible all along to do this without it. We can house everything
within the DSPLLE class, which is quite nice =)
2020-12-27 06:38:02 -05:00
..
Boot Core: Convert missed log calls over to fmt 2020-11-23 12:20:02 -05:00
Config Core: Add new Free Look settings and config 2020-12-24 13:49:25 -06:00
ConfigLoaders Core: Add new Free Look settings and config 2020-12-24 13:49:25 -06:00
Debugger Core: Convert logging over to fmt pt. 1 2020-11-19 14:21:06 -05:00
DSP DSP: Eliminate most global state 2020-12-27 06:38:02 -05:00
FifoPlayer Core: Convert logging over to fmt pt.2 2020-11-20 10:05:44 -05:00
HLE Split OSREPORT logging type 2020-12-24 23:38:59 -06:00
HW DSP: Eliminate most global state 2020-12-27 06:38:02 -05:00
IOS Add NetBSD support 2020-12-15 02:34:25 +01:00
PowerPC Merge pull request #9359 from leoetlino/gdbstub-on 2020-12-26 12:02:36 +01:00
ActionReplay.cpp Core: Don't copy default _Enabled sections to user INIs 2020-12-11 15:38:11 +01:00
ActionReplay.h Core: Save the disabling of default enabled codes 2020-12-11 10:08:20 +01:00
Analytics.cpp Analytics: Add rarer OSes to analytics 2020-12-20 22:32:07 +00:00
Analytics.h Analytics: Add quirk for mismatched xf/bp texgens/colors 2020-04-02 12:52:16 +10:00
ARDecrypt.cpp Core: Convert missed log calls over to fmt 2020-11-23 12:20:02 -05:00
ARDecrypt.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
BootManager.cpp Store pointers in Config::SYSCONF_SETTINGS 2020-12-11 19:54:16 +01:00
BootManager.h Add /dev/dolphin for homebrew to get information about Dolphin 2019-11-09 15:31:51 +01:00
CheatCodes.h Core: Allow overriding the enabling of a code 2020-12-11 10:02:14 +01:00
CMakeLists.txt DSP: Eliminate most global state 2020-12-27 06:38:02 -05:00
CommonTitles.h Include the Korean Wii Shop Channel when checking default credentials 2018-09-15 17:28:23 +02:00
ConfigManager.cpp Add Fallback Region to configuration menu 2020-11-28 15:40:21 -05:00
ConfigManager.h Android: Don't show game ID after game title 2020-10-21 20:02:52 +02:00
Core.cpp Core: Add Free Look controllers that are initialized at boot 2020-12-24 13:49:25 -06:00
Core.h Android: Fix rotating EmulationActivity after boot fails 2020-11-09 10:38:49 +01:00
Core.vcxproj DSP: Eliminate most global state 2020-12-27 06:38:02 -05:00
Core.vcxproj.filters DSP: Eliminate most global state 2020-12-27 06:38:02 -05:00
CoreTiming.cpp Core: Convert logging over to fmt pt. 1 2020-11-19 14:21:06 -05:00
CoreTiming.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
DSPEmulator.cpp
DSPEmulator.h
FreeLookConfig.cpp Core: Add new Free Look settings and config 2020-12-24 13:49:25 -06:00
FreeLookConfig.h Core: Add new Free Look settings and config 2020-12-24 13:49:25 -06:00
FreeLookManager.cpp Core: Refresh the Free Look configuration when Free Look is initialized, ensuring that the configuration updates appropriately with any changes 2020-12-24 13:49:25 -06:00
FreeLookManager.h Core: Add Free Look controllers that are initialized at boot 2020-12-24 13:49:25 -06:00
GeckoCode.cpp Core: Convert logging over to fmt pt. 1 2020-11-19 14:21:06 -05:00
GeckoCode.h Core: Save the disabling of default enabled codes 2020-12-11 10:08:20 +01:00
GeckoCodeConfig.cpp Core: Don't copy default _Enabled sections to user INIs 2020-12-11 15:38:11 +01:00
GeckoCodeConfig.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
Host.h Remove unused function Host_UpdateProgressDialog 2020-04-03 12:53:38 +02:00
HotkeyManager.cpp HotkeyManager: Remove Free Look functionality in preparation for replacement 2020-12-24 13:48:38 -06:00
HotkeyManager.h HotkeyManager: Remove Free Look functionality in preparation for replacement 2020-12-24 13:48:38 -06:00
LibusbUtils.cpp Use separate libusb contexts to avoid thread safety issues 2019-06-26 17:55:51 +02:00
LibusbUtils.h Use separate libusb contexts to avoid thread safety issues 2019-06-26 17:55:51 +02:00
MachineContext.h Add support for FreeBSD/arm64 2020-08-27 21:54:04 +01:00
MemoryWatcher.cpp MemoryWatcher: Do not follow invalid pointers 2020-08-30 10:29:40 +02:00
MemoryWatcher.h Step MemoryWatcher at end of each video frame. 2019-05-08 11:20:59 +01:00
MemTools.cpp Add NetBSD support 2020-12-15 02:34:25 +01:00
MemTools.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
Movie.cpp Movie: Fix 83b9fef regressions 2020-11-28 23:35:55 +01:00
Movie.h Movie: Fix 83b9fef regressions 2020-11-28 23:35:55 +01:00
NetPlayClient.cpp Core: Allow overriding the enabling of a code 2020-12-11 10:02:14 +01:00
NetPlayClient.h Core/NetPlay: Fix Wii Remote syncing. 2020-09-27 13:10:19 -05:00
NetPlayProto.h Core/NetPlay: Fix Wii Remote syncing. 2020-09-27 13:10:19 -05:00
NetPlayServer.cpp Core: Convert missed log calls over to fmt 2020-11-23 12:20:02 -05:00
NetPlayServer.h Make netplay's "same game" check more robust 2020-08-02 22:46:53 +02:00
PatchEngine.cpp Core: Save the disabling of default enabled codes 2020-12-11 10:08:20 +01:00
PatchEngine.h Core: Save the disabling of default enabled codes 2020-12-11 10:08:20 +01:00
State.cpp DSP: Eliminate most global state 2020-12-27 06:38:02 -05:00
State.h Android: Show how long ago each savestate was created 2020-10-21 22:49:59 +02:00
SyncIdentifier.h Make netplay's "same game" check more robust 2020-08-02 22:46:53 +02:00
SysConf.cpp Core: Convert logging over to fmt pt. 1 2020-11-19 14:21:06 -05:00
SysConf.h Common/Core: Minor rvalue reference related cleanups. 2020-01-23 22:58:23 -06:00
System.cpp Core: Add initial System class 2020-12-19 23:22:06 -05:00
System.h Core: Add initial System class 2020-12-19 23:22:06 -05:00
TitleDatabase.cpp Core: Replace usages of StringFromFormat with fmt where applicable 2019-11-11 07:32:57 -05:00
TitleDatabase.h TitleDatabase: Don't merge multiple languages into same map 2019-02-25 19:55:46 +01:00
WiiRoot.cpp Core: Convert logging over to fmt pt. 1 2020-11-19 14:21:06 -05:00
WiiRoot.h Back up Wii setting.txt and SYSCONF while emulating 2020-03-16 21:04:19 +01:00
WiiUtils.cpp WiiUtils: Check hashes to determine if a title is installed and up-to-date 2020-12-06 01:53:55 +01:00
WiiUtils.h DiscIO: Merge WiiWAD into VolumeWAD 2019-07-18 22:29:04 +02:00