mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-05 01:45:05 +01:00
573036b38e
Added a few interfaces for adding/deleting/replacing/saving cheats. The cheats list is guarded by a std::shared_mutex, and would only need a exclusive lock when it's being updated. I marked the `Execute` function as `const` to avoid accidentally changing the internal state of the cheat on execution, so that execution can be considered a "read" operation which only needs a shared lock. Whether a cheat is enabled or not is now saved by a special comment line `*citra_enabled`. |
||
---|---|---|
.. | ||
cheat_base.cpp | ||
cheat_base.h | ||
cheats.cpp | ||
cheats.h | ||
gateway_cheat.cpp | ||
gateway_cheat.h |