mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 18:50:44 +00:00
DreamStation's have two extra bytes before the final block checksum
This commit is contained in:
parent
ba9002354a
commit
32b677e5d7
@ -1083,6 +1083,8 @@ bool PRS1Import::ParseF0Events()
|
||||
int lastpos = 0, startpos = 0, lastpos2 = 0, lastpos3 = 0;
|
||||
|
||||
int size = event->m_data.size();
|
||||
|
||||
if (event->fileVersion == 3) size -= 2;
|
||||
unsigned char * buffer = (unsigned char *)event->m_data.data();
|
||||
|
||||
for (pos = 0; pos < size;) {
|
||||
|
Loading…
Reference in New Issue
Block a user