1
0
mirror of synced 2024-11-14 10:07:34 +01:00
TaikoModStuff/RecordingEnable.cs
2022-02-22 04:53:43 -07:00

20 lines
441 B
C#

using HarmonyLib;
using Il2CppMicrosoft.Xbox;
namespace TaikoModStuff
{
internal class RecordingEnable
{
// Skip the original method, we're doing magic here
[HarmonyPatch(typeof(GdkHelpers), "CaptureDisable")]
[HarmonyPrefix]
static bool PrefixRecording()
{
if (Plugin.configEnableRecording.Value)
return false;
else return true;
}
}
}