Fix for ticket parsing

This commit is contained in:
RipleyTom 2022-05-11 18:39:27 +02:00 committed by Megamouse
parent e243ef5907
commit 2f9b930c6b
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ namespace np
const auto* ptr = data() + index;
tdata.id = *reinterpret_cast<const be_t<u16>*>(ptr);
tdata.len = *reinterpret_cast<const be_t<u16>*>(ptr + 2);
const auto* data_ptr = data() + 4;
const auto* data_ptr = data() + index + 4;
auto check_size = [&](std::size_t expected) -> bool
{