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