From f4961171c63b3d0620f80974567bcb65e723850e Mon Sep 17 00:00:00 2001 From: Robert Alm Nilsson Date: Mon, 16 Jul 2018 16:25:17 +0200 Subject: [PATCH] Add fields to m64p_rom_settings The core library has added these fields so all frontends must be updated or recompiled to continue working. Otherwise the wrong size will be sent to CoreGetRomSettings() and it will return a M64ERR_INPUT_INVALID response. --- src/m64py/core/defs.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/m64py/core/defs.py b/src/m64py/core/defs.py index 4b63139..f7f34d2 100644 --- a/src/m64py/core/defs.py +++ b/src/m64py/core/defs.py @@ -190,7 +190,10 @@ class m64p_rom_settings(C.Structure): ('savetype', C.c_ubyte), ('status', C.c_ubyte), ('players', C.c_ubyte), - ('rumble', C.c_ubyte) + ('rumble', C.c_ubyte), + ('transferpak', C.c_ubyte), + ('mempak', C.c_ubyte), + ('biopak', C.c_ubyte) ]