From c425ca1ea8e0a0d67600110cc599eeee3049d3a6 Mon Sep 17 00:00:00 2001 From: Hay1tsme Date: Thu, 9 Nov 2023 13:41:56 -0500 Subject: [PATCH] sao: hotfix --- 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 369b80c..4a3fb3c 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("!HIIIs16", data) + collection = struct.unpack_from("!HIII16s", data) self.cmd: int = collection[0] self.vendor_id: int = collection[1] self.game_id: int = collection[2]