From 95234a421c07c930fcdf47ff7aecc3178bf4e7fc Mon Sep 17 00:00:00 2001 From: Hay1tsme Date: Thu, 9 Nov 2023 13:47:50 -0500 Subject: [PATCH] sao: fix header --- titles/sao/handlers/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/titles/sao/handlers/base.py b/titles/sao/handlers/base.py index 4a3fb3c..08b7937 100644 --- a/titles/sao/handlers/base.py +++ b/titles/sao/handlers/base.py @@ -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]