mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 18:50:44 +00:00
modified: viatom_loader.cpp - Changed "sig" (byte 0x00)to mean Viatom database version number
This commit is contained in:
parent
edeb699841
commit
3089fae6bd
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user