Exemplo n.º 1
0
 public static ISPIFlasher GetJrunnerFlasher()
 {
     if (NativeWin32.IsDeviceConnected(0x11D4, 0x8338))
     {
         return(new ARMFlasher(0x11D4, 0x8338));
     }
     throw new X360NANDManagerException(X360NANDManagerException.ErrorLevels.NoDeviceFound);
 }
Exemplo n.º 2
0
 public static IXSVFFlasher GetXSVFFlasher(int vendorID, int productID)
 {
     if (NativeWin32.IsDeviceConnected(vendorID, productID))
     {
         return(new ARMXSVFFlasher(vendorID, productID));
     }
     throw new X360NANDManagerException(X360NANDManagerException.ErrorLevels.NoDeviceFound);
 }
Exemplo n.º 3
0
 public static ISPIFlasher GetNandProFlasher()
 {
     if (NativeWin32.IsDeviceConnected(0xFFFF, 0x4))
     {
         return(new ARMFlasher(0xFFFF, 0x4));
     }
     throw new X360NANDManagerException(X360NANDManagerException.ErrorLevels.NoDeviceFound);
 }
Exemplo n.º 4
0
 public static IXSVFFlasher GetXSVFFlasher(int vendorID, int productID)
 {
     if (NativeWin32.IsDeviceConnected(vendorID, productID))
     {
         return(new ARMXSVFFlasher(vendorID, productID));
     }
     throw new DeviceError(DeviceError.ErrorLevels.NoDeviceFound);
 }
Exemplo n.º 5
0
 public static ISPIFlasher GetSPIFlasher()
 {
     if (NativeWin32.IsDeviceConnected(0xFFFF, 0x4))
     {
         return(new ARMFlasher(0xFFFF, 0x4));
     }
     if (NativeWin32.IsDeviceConnected(0x11D4, 0x8338))
     {
         return(new ARMFlasher(0x11D4, 0x8338));
     }
     throw new DeviceError(DeviceError.ErrorLevels.NoDeviceFound);
 }
Exemplo n.º 6
0
 public static IXSVFFlasher GetXSVFFlasher()
 {
     if (NativeWin32.IsDeviceConnected(0x11D4, 0x8338)) // Try JRP First...
     {
         return(new JRPXSVFFlasher(0x11D4, 0x8338));
     }
     if (NativeWin32.IsDeviceConnected(0xFFFF, 0x4))
     {
         var flasher = new ARMXSVFFlasher(0xFFFF, 0x4);
         if (!flasher.IsCompatibleVersion())
         {
             throw new X360NANDManagerException(X360NANDManagerException.ErrorLevels.IncompatibleDevice);
         }
         return(flasher);
     }
     throw new X360NANDManagerException(X360NANDManagerException.ErrorLevels.NoDeviceFound);
 }
Exemplo n.º 7
0
 public static IXSVFFlasher GetXSVFFlasher()
 {
     if (NativeWin32.IsDeviceConnected(0xFFFF, 0x4))
     {
         var flasher = new ARMXSVFFlasher(0xFFFF, 0x4);
         if (!flasher.IsCompatibleVersion())
         {
             throw new DeviceError(DeviceError.ErrorLevels.IncompatibleDevice);
         }
         return(flasher);
     }
     if (NativeWin32.IsDeviceConnected(0x11D4, 0x8338))
     {
         return(new JRPXSVFFlasher(0x11D4, 0x8338));
     }
     throw new DeviceError(DeviceError.ErrorLevels.NoDeviceFound);
 }