mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 02:30: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 sec = header[8];
|
||||
|
||||
switch (sig) {
|
||||
switch (sig) { //Viatom database version number - Crimson Nape
|
||||
case 0x0003:
|
||||
case 0x0005: // CheckMe O2 Max
|
||||
case 0x0005:
|
||||
break;
|
||||
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;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user