mirror of
https://github.com/aaru-dps/010templates.git
synced 2025-12-16 11:14:27 +00:00
Rename alcohol physical block type for clarity
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user