1
0
mirror of synced 2024-11-24 06:20:11 +01:00
TaikoModStuff/RecordingEnable.cs
2022-05-24 03:09:36 -06:00

24 lines
489 B
C#

using HarmonyLib;
#if !BEPIN_5
using Il2CppMicrosoft.Xbox;
#else
using Microsoft.Xbox;
#endif
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;
}
}
}