Rename sectorSuffix to sector_suffix for consistency

This commit is contained in:
2025-10-03 22:53:45 +01:00
parent db6cd112b2
commit 74ba5c8bfe
6 changed files with 50 additions and 52 deletions

View File

@@ -158,7 +158,7 @@ typedef struct aaruformatContext
/* Optical auxiliary buffers (NULL if not present) */
uint8_t *sector_prefix; ///< Raw per-sector prefix (e.g., sync+header) uncorrected.
uint8_t *sectorPrefixCorrected; ///< Corrected variant (post error correction) if stored.
uint8_t *sectorSuffix; ///< Raw per-sector suffix (EDC/ECC) uncorrected.
uint8_t *sector_suffix; ///< Raw per-sector suffix (EDC/ECC) uncorrected.
uint8_t *sectorSuffixCorrected; ///< Corrected suffix if stored separately.
uint8_t *sectorSubchannel; ///< Raw 96-byte subchannel (if captured).
uint8_t *mode2_subheaders; ///< MODE2 Form1/Form2 8-byte subheaders (concatenated).
@@ -232,11 +232,10 @@ typedef struct aaruformatContext
uint8_t currentTrackType; ///< Current track type (when writing optical images with tracks, needed for block
///< compression type).
bool writingLong; ///< True if writing long sectors
uint8_t *sectorSuffixBuffer; ///< Buffer for storing sector suffixes when writing optical images
size_t sector_prefix_length; ///< Length of sectorPrefixBuffer
size_t sectorSuffixBufferLength; ///< Length of sectorSuffixBuffer
size_t sector_prefix_offset; ///< Current position in sectorPrefixBuffer
size_t sectorSuffixBufferOffset; ///< Current position in sectorSuffixBuffer
size_t sector_prefix_length; ///< Length of sector_prefix
size_t sector_suffix_length; ///< Length of sector_suffix
size_t sector_prefix_offset; ///< Current position in sector_prefix
size_t sector_suffix_offset; ///< Current position in sector_suffix
} aaruformatContext;
/** \struct DumpHardwareEntriesWithData