From 6dd3ed3ce37409c52aef32d73965e53df84b3ae1 Mon Sep 17 00:00:00 2001 From: longpanda Date: Fri, 24 Jul 2026 12:25:35 +0800 Subject: [PATCH] Fix the disk_write logic error (#3693) This is indeed a logic error, but actually it does not take effect so it does not cause any install/update failure. --- Ventoy2Disk/Ventoy2Disk/ff14/source/diskio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Ventoy2Disk/Ventoy2Disk/ff14/source/diskio.c b/Ventoy2Disk/Ventoy2Disk/ff14/source/diskio.c index d45df97d..bb53ee27 100644 --- a/Ventoy2Disk/Ventoy2Disk/ff14/source/diskio.c +++ b/Ventoy2Disk/Ventoy2Disk/ff14/source/diskio.c @@ -228,6 +228,7 @@ DRESULT disk_write ( return RES_OK; } + buff += 512; sector++; count--; }