From 19e9bb68afae5124b63e0a93eba7fb77c3d72cf8db79849e6adce5b002a64286 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=BB=A8=ED=8A=B8=EB=A1=A4DELTA?= Date: Mon, 1 Jun 2026 09:34:18 +0900 Subject: [PATCH] Cleanup --- Patch/Engine/AsyncInputPatches.cs | 2 +- UI/DebugMonitorUI.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Patch/Engine/AsyncInputPatches.cs b/Patch/Engine/AsyncInputPatches.cs index d9fcc6e..6b1dc2d 100644 --- a/Patch/Engine/AsyncInputPatches.cs +++ b/Patch/Engine/AsyncInputPatches.cs @@ -9,7 +9,7 @@ namespace ADOFAIRenderer.Patch.Engine { [HarmonyPrefix] // ReSharper disable once InconsistentNaming - public static bool Prefix(long fixDivider) + public static bool Prefix() { if (!RenderManager.IsActive) return true; // Force offsetTick to match instantly without 1/100 damping division when rendering diff --git a/UI/DebugMonitorUI.cs b/UI/DebugMonitorUI.cs index 6c39691..01b089a 100644 --- a/UI/DebugMonitorUI.cs +++ b/UI/DebugMonitorUI.cs @@ -187,7 +187,7 @@ namespace ADOFAIRenderer.UI var sb = new StringBuilder(); sb.AppendLine("ADOFAI Renderer Realtime Monitor"); sb.AppendLine(); - sb.AppendLine($"• Rendered Progress: {(RenderManager.Instance != null ? RenderManager.Instance.frameCount : 0)} frames"); + sb.AppendLine($"• Rendered Progress: {(RenderManager.Instance ? RenderManager.Instance.frameCount : 0)} frames"); var queueCount = 0; if (RenderManager.Instance) @@ -199,7 +199,7 @@ namespace ADOFAIRenderer.UI } sb.AppendLine($"• Queued Buffers: {queueCount} / {RenderManager.MaxQueuedFrames} frames"); - sb.AppendLine((RenderManager.Instance && RenderManager.Instance.isThrottling) + sb.AppendLine(RenderManager.Instance && RenderManager.Instance.isThrottling ? "• Status: THROTTLING (Safe Mode)" : "• Status: NORMAL (Encoding)"); sb.AppendLine();