3
2
forked from Dniel97/artemis

sao: fix header

This commit is contained in:
Hay1tsme 2023-11-09 13:47:50 -05:00
parent c425ca1ea8
commit 95234a421c

View File

@ -7,7 +7,7 @@ from csv import *
class SaoRequestHeader:
def __init__(self, data: bytes) -> None:
collection = struct.unpack_from("!HIII16s", data)
collection = struct.unpack_from("!H6xIII16s", data)
self.cmd: int = collection[0]
self.vendor_id: int = collection[1]
self.game_id: int = collection[2]