mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-29 14:05:17 -04:00
dmnt: allow disabling cheats via title-specific button combo
This commit is contained in:
parent
ef68881e5c
commit
37d3577028
21 changed files with 775 additions and 18 deletions
|
@ -76,10 +76,11 @@ Result DebugMonitorService::DisableDebug(u32 which) {
|
|||
return Registration::DisableDebug(which);
|
||||
}
|
||||
|
||||
Result DebugMonitorService::AtmosphereGetProcessHandle(Out<CopiedHandle> proc_hand, u64 pid) {
|
||||
Result DebugMonitorService::AtmosphereGetProcessInfo(Out<CopiedHandle> proc_hand, Out<Registration::TidSid> tid_sid, u64 pid) {
|
||||
auto proc = Registration::GetProcess(pid);
|
||||
if(proc != nullptr) {
|
||||
if (proc != nullptr) {
|
||||
proc_hand.SetValue(proc->handle);
|
||||
tid_sid.SetValue(proc->tid_sid);
|
||||
return 0;
|
||||
}
|
||||
return 0x20F;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue