mirror of
https://github.com/Tolik-Trek/Estex-DSS.git
synced 2026-11-18 12:01:53 +03:00
Core: fixed a bug for FAT32 with an unusually large FAT size
This commit is contained in:
1 parent
2ac8d1308a
commit
08ab359af4
1 file changed
+1
-1
+1
-1
@@ -866,10 +866,10 @@ RD_BPB: ; LD C,SLOT3
|
||||
LD DE,(CORE_BUFFERS.FatBuffer.FirstDataSector_L)
|
||||
EXX
|
||||
LD HL,(CORE_BUFFERS.SECTOR_BUFFER + BOOT_SECTOR.BPB_BIG_TOTAL_SECTORS_H)
|
||||
PUSH HL ; Total Sectors high
|
||||
LD DE,(CORE_BUFFERS.FatBuffer.FirstDataSector_H)
|
||||
EXX
|
||||
LD HL,(CORE_BUFFERS.SECTOR_BUFFER + BOOT_SECTOR.BPB_BIG_TOTAL_SECTORS_L)
|
||||
PUSH BC ; Total Sectors high
|
||||
PUSH HL ; Total Sectors low
|
||||
AND A
|
||||
SBC HL,DE
|
||||
|
||||
Reference in new issue
Block a user