1
0
mirror of synced 2024-11-28 07:50:48 +01:00

sao: hotfix

This commit is contained in:
Hay1tsme 2023-11-09 13:41:56 -05:00
parent b0ebcaf0cf
commit c425ca1ea8

View File

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