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,