summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2024-06-04 16:20:20 +0200
committerJosJuice <josjuice@gmail.com>2024-06-06 08:26:20 +0200
commit22aa88109f5a5964e1b66d31221647cafab7f0f5 (patch)
tree5aa1d5da044500c57a686f93d263f8e1288c2a28 /Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp
parent2b386cdcdc5f05a34529f80edb132697f398edc7 (diff)
Use a stub AchivementManager when USE_RETRO_ACHIEVEMENTS isn't defined
This lets us reduce the number of USE_RETRO_ACHIEVEMENTS ifdefs in the code base, reducing visual clutter. In particular, needing an ifdef for each call to IsHardcodeModeActive was annoying to me. This also reduces the risk that someone writes code that accidentally fails to compile with USE_RETRO_ACHIEVEMENTS disabled. We could cut down on ifdefs even further by making HardcodeWarningWidget always exist, but that would result in non-trivial code ending up in the binary even with USE_RETRO_ACHIEVEMENTS disabled, so I'm leaving it out of this PR. It's not a lot of code though, so I might end up revisiting it at some point.
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp')
0 files changed, 0 insertions, 0 deletions