mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Redo Reformat and cleanup.
Rider EAP was having a bug interpreting .editorconfig that didn't generate the code style as we wanted. This is now done with Rider-stable.
This commit is contained in:
@@ -230,10 +230,7 @@ public sealed partial class HPFS
|
||||
metadata = new FileSystem();
|
||||
|
||||
// Theoretically everything from BPB to SB is boot code, should I hash everything or only the sector loaded by BIOS itself?
|
||||
if(bpb.jump[0] == 0xEB &&
|
||||
bpb.jump[1] > 0x3C &&
|
||||
bpb.jump[1] < 0x80 &&
|
||||
bpb.signature2 == 0xAA55)
|
||||
if(bpb.jump[0] == 0xEB && bpb.jump[1] > 0x3C && bpb.jump[1] < 0x80 && bpb.signature2 == 0xAA55)
|
||||
{
|
||||
metadata.Bootable = true;
|
||||
string bootChk = Sha1Context.Data(bpb.boot_code, out byte[] _);
|
||||
|
||||
Reference in New Issue
Block a user