shoudl bit shift 4 for 1 byte

This commit is contained in:
Ryan@iMac 2023-10-11 13:29:09 -04:00
parent 4932a4f621
commit b41c1d1462

View File

@ -122,7 +122,7 @@ inline int SolReader::ReadNextBlock(int isSkip){
hit->SetDataType(DataFormat::RAW, ((blockStartIdentifier >> 1) & 0xF) == 0 ? DPPType::PHA : DPPType::PSD);
}
hit->dataType = blockStartIdentifier & 0xF;
hit->DPPType = ((blockStartIdentifier >> 1) & 0xF) == 0 ? DPPType::PHA : DPPType::PSD;
hit->DPPType = ((blockStartIdentifier >> 4) & 0xF) == 0 ? DPPType::PHA : DPPType::PSD;
if( hit->dataType == DataFormat::ALL){
if( isSkip == 0 ){