Rename alcohol physical block type for clarity

This commit is contained in:
RibShark
2023-12-23 05:06:58 +00:00
committed by Natalia Portillo
parent ffbec9996e
commit d9c7631402

View File

@@ -42,7 +42,7 @@ enum <byte> AlcoholSubchannelMode
Interleaved = 0x08
};
enum <uint> AlcoholPhysicalType
enum <uint> AlcoholPhysicalBlockType
{
DPM = 0x01,
ErrorSectors = 0x02
@@ -173,9 +173,9 @@ AlcoholPhysicalHeader physicalHeader;
local int i;
for (i = 0; i < physicalHeader.blockCount; i++) {
FSeek(physicalHeader.blockOffsets[i]);
AlcoholPhysicalType type;
AlcoholPhysicalBlockType physicalBlockType;
switch (type) {
switch (physicalBlockType) {
case DPM:
AlcoholDPM dpm;
break;