public static void SetFlag(EmulationFlags flag, bool value) { if (value) { InteropEmu.SetFlags(flag); } else { InteropEmu.ClearFlags(flag); } }
[DllImport(DllPath)] public static extern void SetEmulationFlag(EmulationFlags flag, bool enabled);
[DllImport(DLLPath)] private static extern void ClearFlags(EmulationFlags flags);