SHA256
Fix Cursor Issue
This commit is contained in:
1 file changed
+6
-1
@@ -8,6 +8,7 @@ using ADOFAIRenderer.Data;
|
||||
using ADOFAIRenderer.UI;
|
||||
using ADOFAIRenderer.Util;
|
||||
using ADOFAIRenderer.Util.FFmpeg;
|
||||
using HarmonyLib;
|
||||
using MelonLoader;
|
||||
using MelonLoader.Utils;
|
||||
using UnityEngine;
|
||||
@@ -189,6 +190,9 @@ namespace ADOFAIRenderer.Core
|
||||
scrConductor.currentPreset.inputOffset = 0;
|
||||
|
||||
RDC.auto = true;
|
||||
AccessTools.Field(typeof(scrController), "disableCongratsMessage")
|
||||
.SetValue(scrController.instance, true);
|
||||
|
||||
if (scrController.instance)
|
||||
{
|
||||
scrController.instance.noFail = true;
|
||||
@@ -465,7 +469,6 @@ namespace ADOFAIRenderer.Core
|
||||
QualityValue = Configuration.EncodingConfig.QP,
|
||||
TargetBitrate = Configuration.EncodingConfig.Bitrate,
|
||||
MaxBitrate = Configuration.EncodingConfig.MaxBitrate,
|
||||
GopSize = Configuration.EncodingConfig.KeyframeInterval
|
||||
GopSize = Configuration.EncodingConfig.KeyframeInterval,
|
||||
ForceSoftware = Configuration.EncodingConfig.ForceSoftwareEncoder
|
||||
};
|
||||
@@ -723,6 +726,8 @@ namespace ADOFAIRenderer.Core
|
||||
|
||||
_frameReader?.Dispose();
|
||||
ADOBase.loader.LoadSceneWithTransition(WipeDirection.StartsFromRight, "scnEditor");
|
||||
|
||||
Cursor.visible = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user