citra/src/core/cheats
zhupengfei 573036b38e
core/cheats: Add and change a few functions
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`.
2019-02-02 08:15:23 +08:00
..
cheat_base.cpp Add CheatEngine and support for Gateway cheats (#4406) 2018-11-16 18:01:10 -07:00
cheat_base.h core/cheats: Add and change a few functions 2019-02-02 08:15:23 +08:00
cheats.cpp core/cheats: Add and change a few functions 2019-02-02 08:15:23 +08:00
cheats.h core/cheats: Add and change a few functions 2019-02-02 08:15:23 +08:00
gateway_cheat.cpp core/cheats: Add and change a few functions 2019-02-02 08:15:23 +08:00
gateway_cheat.h core/cheats: Add and change a few functions 2019-02-02 08:15:23 +08:00