From ab19a3a7779ec3efe8ac115bfc7cd97d6db56f8003a44766783f80b87963fd55 Mon Sep 17 00:00:00 2001 From: copecone Date: Mon, 17 Aug 2026 21:16:52 +0900 Subject: [PATCH] Make RenderConfig Related Classes Public --- Patch/Game/scrShowIfDebugPatch.cs | 2 +- Util/FFmpeg/Codec.cs | 2 +- Util/FFmpeg/RateControlMode.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Patch/Game/scrShowIfDebugPatch.cs b/Patch/Game/scrShowIfDebugPatch.cs index 727213c..f01617d 100644 --- a/Patch/Game/scrShowIfDebugPatch.cs +++ b/Patch/Game/scrShowIfDebugPatch.cs @@ -25,7 +25,7 @@ namespace ADOFAIRenderer.Patch.Game if (RenderManager.Instance.wonFrame != -1) { var elapsedFrames = RenderManager.Instance.frameCount - RenderManager.Instance.wonFrame; - var remainingTime = RenderManager.Instance.Configuration.DelayAfterLevelEnd - elapsedFrames / RenderManager.Instance.Configuration.RenderFPS; + var remainingTime = RenderManager.Instance.Configuration.DelayAfterEnd - elapsedFrames / RenderManager.Instance.Configuration.RenderFPS; if (remainingTime < 0) remainingTime = 0; ___txt.text += $"\nWaiting for {remainingTime:F1}s.."; } diff --git a/Util/FFmpeg/Codec.cs b/Util/FFmpeg/Codec.cs index fddc172..e74de90 100644 --- a/Util/FFmpeg/Codec.cs +++ b/Util/FFmpeg/Codec.cs @@ -3,7 +3,7 @@ namespace ADOFAIRenderer.Util.FFmpeg { [SuppressMessage("ReSharper", "InconsistentNaming")] - internal enum Codec + public enum Codec { H264, H265, VP9, AV1, VVC } diff --git a/Util/FFmpeg/RateControlMode.cs b/Util/FFmpeg/RateControlMode.cs index d7ec1d4..b790945 100644 --- a/Util/FFmpeg/RateControlMode.cs +++ b/Util/FFmpeg/RateControlMode.cs @@ -3,7 +3,7 @@ namespace ADOFAIRenderer.Util.FFmpeg { [SuppressMessage("ReSharper", "InconsistentNaming")] - internal enum RateControlMode + public enum RateControlMode { CBR, VBR,