aboutsummaryrefslogtreecommitdiff
path: root/src/core/memory/dmnt_cheat_vm.cpp
AgeCommit message (Collapse)Author
2024-02-19scope_exit: Make constexprFearlessTobi
Allows the use of the macro in constexpr-contexts. Also avoids some potential problems when nesting braces inside it.
2024-02-05dmnt: cheat: Add pause and resume supportgerman77
2024-02-05dmnt: cheats: Silence memory errorsgerman77
2024-02-04dmnt: cheats: Update cheat vm to latest versiongerman77
2022-11-20dmnt:cht: fix copy-paste errorLiam
2022-04-23general: Convert source file copyright comments over to SPDXMorph
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2021-05-16core: Make variable shadowing a compile-time errorLioncash
Now that we have most of core free of shadowing, we can enable the warning as an error to catch anything that may be remaining and also eliminate this class of logic bug entirely.
2020-08-03dmnt_cheat_vm: Make use of designated initializersLioncash
Allows for more compact code.
2020-07-15clang-formatVolcaEM
2020-07-15dmnt_cheat_vm: Implement opcode 0xC3 (ReadWriteStaticRegister)VolcaEM
This was based on Atmosphére's DMNT Cheat VM: - https://github.com/Atmosphere-NX/Atmosphere/blob/master/stratosphere/dmnt/source/cheat/impl/dmnt_cheat_vm.hpp - https://github.com/Atmosphere-NX/Atmosphere/blob/master/stratosphere/dmnt/source/cheat/impl/dmnt_cheat_vm.cpp From Atmosphére's documentation: "Code type 0xC3 reads or writes a static register with a given register" There are now only two remaining opcodes to implement (PauseProcess and BreakProcess) This is untested because I don't have any experience in testing cheats on yuzu
2020-04-17core: memory: Move to Core::Memory namespace.bunnei
- helpful to disambiguate Kernel::Memory namespace.
2020-04-15CMakeLists: Specify -Wextra on linux buildsLioncash
Allows reporting more cases where logic errors may exist, such as implicit fallthrough cases, etc. We currently ignore unused parameters, since we currently have many cases where this is intentional (virtual interfaces). While we're at it, we can also tidy up any existing code that causes warnings. This also uncovered a few bugs as well.
2019-10-17dmnt_cheat_vm: Correct register Restore and ClearRegs behaviorLioncash
Previously these were performing the same behavior as the Save and ClearSaved opcode types.
2019-09-21dmnt_cheat_vm: Make Cheat VM compliant to code styleZach Hilman
2019-09-21memory: Port Atmosphere's DmntCheatVmZach Hilman
This was done because the current VM contained many inaccuracies and this also allows cheats to have identical behavior between hardware and yuzu.