mirror of
https://github.com/developersu/ns-usbloader.git
synced 2025-06-03 08:38:53 -04:00
parent
dfa29aebd3
commit
5838fe3b89
10 changed files with 330 additions and 41 deletions
|
@ -285,10 +285,8 @@ class NxdtUsbAbi1 {
|
|||
|
||||
while (received < size){
|
||||
readBuffer = readUsbFile();
|
||||
|
||||
bos.write(readBuffer);
|
||||
fd.sync(); // Fixes flushing under Windows (unharmful for other OS)
|
||||
|
||||
bufferSize = readBuffer.length;
|
||||
received += bufferSize;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue