diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2024-06-06 22:42:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-06 22:42:53 +0200 |
| commit | 81b6bfaa1e1804cf9d8ba4068fcbfe2c92a19e98 (patch) | |
| tree | 6f8a274956eeb41ff5f8f47742a399cef307c856 /Source/Core/DiscIO/RiivolutionPatcher.cpp | |
| parent | ca22d0af574376594395cf562c86fb60343fb4a9 (diff) | |
| parent | 22aa88109f5a5964e1b66d31221647cafab7f0f5 (diff) | |
Merge pull request #12832 from JosJuice/retro-achievements-less-ifdefs
Use a stub AchivementManager when USE_RETRO_ACHIEVEMENTS isn't defined
Diffstat (limited to 'Source/Core/DiscIO/RiivolutionPatcher.cpp')
| -rw-r--r-- | Source/Core/DiscIO/RiivolutionPatcher.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/Core/DiscIO/RiivolutionPatcher.cpp b/Source/Core/DiscIO/RiivolutionPatcher.cpp index 7dc245d27b..8c54968c35 100644 --- a/Source/Core/DiscIO/RiivolutionPatcher.cpp +++ b/Source/Core/DiscIO/RiivolutionPatcher.cpp @@ -524,10 +524,8 @@ static bool MemoryMatchesAt(const Core::CPUThreadGuard& guard, u32 offset, static void ApplyMemoryPatch(const Core::CPUThreadGuard& guard, u32 offset, std::span<const u8> value, std::span<const u8> original) { -#ifdef USE_RETRO_ACHIEVEMENTS if (AchievementManager::GetInstance().IsHardcoreModeActive()) return; -#endif // USE_RETRO_ACHIEVEMENTS if (value.empty()) return; |
