Exemplo n.º 1
0
 public static NativeSyncSettings FromFrontendSettings(VirtualBoyee.SyncSettings ss)
 {
     return(new NativeSyncSettings
     {
         InstantReadHack = ss.InstantReadHack ? 1 : 0,
         DisableParallax = ss.DisableParallax ? 1 : 0,
     });
 }
Exemplo n.º 2
0
 public static NativeSettings FromFrontendSettings(VirtualBoyee.Settings s, VirtualBoyee.SyncSettings ss)
 {
     return(new NativeSettings
     {
         InstantReadHack = ss.InstantReadHack ? 1 : 0,
         DisableParallax = ss.DisableParallax ? 1 : 0,
         ThreeDeeMode = (int)s.ThreeDeeMode,
         SwapViews = s.SwapViews ? 1 : 0,
         AnaglyphPreset = (int)s.AnaglyphPreset,
         AnaglyphCustomLeftColor = ConvertColor(s.AnaglyphCustomLeftColor),
         AnaglyphCustomRightColor = ConvertColor(s.AnaglyphCustomRightColor),
         NonAnaglyphColor = ConvertColor(s.NonAnaglyphColor),
         LedOnScale = s.LedOnScale,
         InterlacePrescale = s.InterlacePrescale,
         SideBySideSeparation = s.SideBySideSeparation
     });
 }