mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[AppleHFS] Fix bug showing information about volume cache.
This commit is contained in:
@@ -242,9 +242,9 @@ public sealed partial class AppleHFS
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
sb.AppendFormat(Localization._0_blocks_in_volume_cache, mdb.drVCSize).AppendLine();
|
sb.AppendFormat(Localization._0_blocks_in_volume_cache, mdb.drEmbedSigWord).AppendLine();
|
||||||
sb.AppendFormat(Localization._0_blocks_in_volume_bitmap_cache, mdb.drVBMCSize).AppendLine();
|
sb.AppendFormat(Localization._0_blocks_in_volume_bitmap_cache, mdb.xdrStABNt).AppendLine();
|
||||||
sb.AppendFormat(Localization._0_blocks_in_volume_common_cache, mdb.drCtlCSize).AppendLine();
|
sb.AppendFormat(Localization._0_blocks_in_volume_common_cache, mdb.xdrNumABlks).AppendLine();
|
||||||
}
|
}
|
||||||
|
|
||||||
string bootBlockInfo = AppleCommon.GetBootBlockInformation(bbSector, encoding);
|
string bootBlockInfo = AppleCommon.GetBootBlockInformation(bbSector, encoding);
|
||||||
|
|||||||
@@ -338,13 +338,13 @@ public sealed partial class AppleHFS
|
|||||||
/// <summary>0x080, Allocation blocks used by embedded volume</summary>
|
/// <summary>0x080, Allocation blocks used by embedded volume</summary>
|
||||||
public ushort xdrNumABlks;
|
public ushort xdrNumABlks;
|
||||||
|
|
||||||
// If not
|
// If not (use the previous fields, just the names here)
|
||||||
/// <summary>0x07C, Size in blocks of volume cache</summary>
|
/// <summary>0x07C, Size in blocks of volume cache</summary>
|
||||||
public readonly ushort drVCSize;
|
//public ushort drVCSize;
|
||||||
/// <summary>0x07E, Size in blocks of volume bitmap cache</summary>
|
/// <summary>0x07E, Size in blocks of volume bitmap cache</summary>
|
||||||
public readonly ushort drVBMCSize;
|
//public ushort drVBMCSize;
|
||||||
/// <summary>0x080, Size in blocks of volume common cache</summary>
|
/// <summary>0x080, Size in blocks of volume common cache</summary>
|
||||||
public readonly ushort drCtlCSize;
|
//public ushort drCtlCSize;
|
||||||
|
|
||||||
// End of variable variables :D
|
// End of variable variables :D
|
||||||
/// <summary>0x082, Bytes in the extents B-Tree 3 HFS extents following, 32 bits each</summary>
|
/// <summary>0x082, Bytes in the extents B-Tree 3 HFS extents following, 32 bits each</summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user