summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/GraphicsModSystem
diff options
context:
space:
mode:
authorNiel Lebeck <niel.lebeck@gmail.com>2024-04-22 21:51:09 -0700
committerNiel Lebeck <niel.lebeck@gmail.com>2024-04-23 17:19:01 -0700
commit36cdb4a544341e45155ff750c5f67ece71348a52 (patch)
tree9db98e0d553b226d6fd27d86c93a45f7da314fc3 /Source/Core/VideoCommon/GraphicsModSystem
parente69486d2cb4e3e01dd622d760350b26d6cbd59f5 (diff)
Eliminate SettingsHandler's `SetBytes` and `Reset` methods
Also make the `Decrypt` method private. As far as I can tell, the only motivation for exposing the `SetBytes` and `Reset` methods is to allow `CBoot::SetupWiiMemory` to use the same `SettingsHandler` instance to read settings data and then write it back. It seems cleaner to just use two separate instances, and require a given `SettingsHandler` instance to be used for either writing data to a buffer or reading data from a buffer, but not both. A natural next step is to split the `SettingsHandler` class into two classes, one for writing data and one for reading data. I've deferred that change for a future PR.
Diffstat (limited to 'Source/Core/VideoCommon/GraphicsModSystem')
0 files changed, 0 insertions, 0 deletions