modified: viatom_loader.cpp - Changed "sig" (byte 0x00)to mean Viatom database version number

This commit is contained in:
sgearhart 2023-12-03 10:30:17 -05:00
parent edeb699841
commit 3089fae6bd

View File

@ -285,12 +285,12 @@ bool ViatomFile::ParseHeader()
int min = header[7]; int min = header[7];
int sec = header[8]; int sec = header[8];
switch (sig) { switch (sig) { //Viatom database version number - Crimson Nape
case 0x0003: case 0x0003:
case 0x0005: // CheckMe O2 Max case 0x0005:
break; break;
default: default:
qDebug() << m_file.fileName() << "invalid signature for Viatom data file" << sig; qDebug() << m_file.fileName() << "Unrecognized DB version number in Viatom data file" << sig;
return false; return false;
break; break;
} }