diff --git a/src/main/java/nsusbloader/Utilities/NxdtUsbAbi1.java b/src/main/java/nsusbloader/Utilities/NxdtUsbAbi1.java index afea175..1282571 100644 --- a/src/main/java/nsusbloader/Utilities/NxdtUsbAbi1.java +++ b/src/main/java/nsusbloader/Utilities/NxdtUsbAbi1.java @@ -219,6 +219,9 @@ class NxdtUsbAbi1 { writeUsb(USBSTATUS_SUCCESS); + if (fileSize == 0) + return; + if (isWindows10) dumpFileOnWindowsTen(fileToDump, fileSize); else