From d868008726358c827ce5039cfeb5f809812188fc Mon Sep 17 00:00:00 2001 From: Elaina Claus Date: Fri, 5 Sep 2025 08:43:41 -0400 Subject: [PATCH] another oopsie from when I changed the calling convention... --- include/fat32/FAT32_SYS.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fat32/FAT32_SYS.inc b/include/fat32/FAT32_SYS.inc index 2a498d7..7101fb5 100644 --- a/include/fat32/FAT32_SYS.inc +++ b/include/fat32/FAT32_SYS.inc @@ -146,7 +146,7 @@ SearchFATDIR: xor ax, ax push ax ; segment call ReadFATCluster ; uint8_t ReadFATCluster(uint16_t seg, uint16_t offset, uint32_t cluster) - sub sp, 0x8 + add sp, 0x8 .empty_dir_entry: ; check for 0x0 in first byte, if true then there are no more files ; if true we did not find the file, we should error here