mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-29 14:05:17 -04:00
Dmnt: Add break/continue commands, add static register api. (#899)
* dmnt: implement break/continue, static reg commands * dmnt: revise per WerWolv's feedback.
This commit is contained in:
parent
b7c4dae899
commit
be07035954
6 changed files with 242 additions and 8 deletions
|
@ -66,6 +66,14 @@ namespace ams::dmnt::cheat {
|
|||
return dmnt::cheat::impl::QueryCheatProcessMemory(mapping.GetPointer(), address);
|
||||
}
|
||||
|
||||
Result CheatService::BreakCheatProcess() {
|
||||
return dmnt::cheat::impl::BreakCheatProcess();
|
||||
}
|
||||
|
||||
Result CheatService::ContinueCheatProcess() {
|
||||
return dmnt::cheat::impl::ContinueCheatProcess();
|
||||
}
|
||||
|
||||
/* ========================================================================================= */
|
||||
/* =================================== Cheat Commands ==================================== */
|
||||
/* ========================================================================================= */
|
||||
|
@ -95,6 +103,18 @@ namespace ams::dmnt::cheat {
|
|||
return dmnt::cheat::impl::RemoveCheat(cheat_id);
|
||||
}
|
||||
|
||||
Result CheatService::ReadStaticRegister(sf::Out<u64> out, u8 which) {
|
||||
return dmnt::cheat::impl::ReadStaticRegister(out.GetPointer(), which);
|
||||
}
|
||||
|
||||
Result CheatService::WriteStaticRegister(u8 which, u64 value) {
|
||||
return dmnt::cheat::impl::WriteStaticRegister(which, value);
|
||||
}
|
||||
|
||||
Result CheatService::ResetStaticRegisters() {
|
||||
return dmnt::cheat::impl::ResetStaticRegisters();
|
||||
}
|
||||
|
||||
/* ========================================================================================= */
|
||||
/* =================================== Address Commands ================================== */
|
||||
/* ========================================================================================= */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue