mirror of
https://github.com/ole00/afterburner.git
synced 2025-02-19 08:30:37 +00:00
PC app: JTAG player - decrease initial over-buffering
This change improves XSVF upload reliability.
This commit is contained in:
parent
cce891c513
commit
316d103456
@ -1334,7 +1334,7 @@ static int playJtagFile(char* label, int fSize, int vpp, int showProgress) {
|
||||
chunkSize = feedRequest;
|
||||
// make the initial chunk big so the data are buffered by the OS
|
||||
if (sendPos == 0) {
|
||||
chunkSize *= 4;
|
||||
chunkSize *= 2;
|
||||
if (chunkSize > fSize) {
|
||||
chunkSize = fSize;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user