[AppleHFS] Fix bug showing information about volume cache.

This commit is contained in:
2025-10-21 02:37:41 +01:00
parent 0a3cc25047
commit ecd0054076
2 changed files with 7 additions and 7 deletions

View File

@@ -242,9 +242,9 @@ public sealed partial class AppleHFS
}
else
{
sb.AppendFormat(Localization._0_blocks_in_volume_cache, mdb.drVCSize).AppendLine();
sb.AppendFormat(Localization._0_blocks_in_volume_bitmap_cache, mdb.drVBMCSize).AppendLine();
sb.AppendFormat(Localization._0_blocks_in_volume_common_cache, mdb.drCtlCSize).AppendLine();
sb.AppendFormat(Localization._0_blocks_in_volume_cache, mdb.drEmbedSigWord).AppendLine();
sb.AppendFormat(Localization._0_blocks_in_volume_bitmap_cache, mdb.xdrStABNt).AppendLine();
sb.AppendFormat(Localization._0_blocks_in_volume_common_cache, mdb.xdrNumABlks).AppendLine();
}
string bootBlockInfo = AppleCommon.GetBootBlockInformation(bbSector, encoding);

View File

@@ -338,13 +338,13 @@ public sealed partial class AppleHFS
/// <summary>0x080, Allocation blocks used by embedded volume</summary>
public ushort xdrNumABlks;
// If not
// If not (use the previous fields, just the names here)
/// <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>
public readonly ushort drVBMCSize;
//public ushort drVBMCSize;
/// <summary>0x080, Size in blocks of volume common cache</summary>
public readonly ushort drCtlCSize;
//public ushort drCtlCSize;
// End of variable variables :D
/// <summary>0x082, Bytes in the extents B-Tree 3 HFS extents following, 32 bits each</summary>