Race Lockout (#5364)

* Implement race lockout on the new menu, with option for opt-out.

* Cal's requests.
This commit is contained in:
Malkierian
2025-04-13 16:29:29 -07:00
committed by GitHub
parent 46b40b0220
commit 5e399fe7a2
22 changed files with 251 additions and 89 deletions
@@ -77,6 +77,7 @@ void DrawHookRegisteringInfos(const char* hookName) {
}
void HookDebuggerWindow::DrawElement() {
ImGui::BeginDisabled(CVarGetInteger(CVAR_SETTING("DisableChanges"), 0));
#ifndef __cpp_lib_source_location
ImGui::TextColored(yellow, "Some features of the Hook Debugger are unavailable because SoH was compiled "
"without \"<source_location>\" support "
@@ -93,6 +94,7 @@ void HookDebuggerWindow::DrawElement() {
}
ImGui::PopFont();
ImGui::EndDisabled();
}
void HookDebuggerWindow::InitElement() {