From 178abe8f65d59ae6b90bfaa69ad8c7560ed5e48d Mon Sep 17 00:00:00 2001 From: tomvita <68505331+tomvita@users.noreply.github.com> Date: Sat, 26 Sep 2020 15:44:04 +0800 Subject: [PATCH] allow function without dmnt --- source/helpers/debugger.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/helpers/debugger.cpp b/source/helpers/debugger.cpp index bd05e465..773a04f0 100644 --- a/source/helpers/debugger.cpp +++ b/source/helpers/debugger.cpp @@ -30,10 +30,10 @@ Result Debugger::attachToProcess() { if ((int)m_rc == 0) { m_dmnt = false; - return m_rc; } + return m_rc; } - return 0; + return 1; // return dmntchtForceOpenCheatProcess(); } void Debugger::detatch()