fixed read_disk_raw in ReadFATCluster

boot_drive and partition_offset are global pointers now
removed an extra error from mbr disk read
and some general formating and cleanup 😅
This commit is contained in:
2024-10-05 20:14:00 -04:00
parent f5f5a330cd
commit 4c4c3b0e27
5 changed files with 19 additions and 30 deletions

View File

@@ -97,7 +97,7 @@ read_disk_raw:
%ifdef __STEVIA_MBR
ERROR MBR_ERROR_DISK_READ_ERR
%elifsef __STEVIA_VBR
%elifdef __STEVIA_VBR
ERROR VBR_ERROR_DISK_READ_ERR
%else
ERROR STAGE2_MBR_DISK_READ_ERROR