From 4d83c034b1ae336c7493125235125dcd77e41d9a Mon Sep 17 00:00:00 2001 From: Joel Smith Date: Mon, 20 Apr 2020 13:32:22 -0700 Subject: [PATCH] Added values for SNES Stunt Race FX rom type and SRAM --- host/scripts/snes/v2proto_hirom.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/host/scripts/snes/v2proto_hirom.lua b/host/scripts/snes/v2proto_hirom.lua index c03a29a..01de1c8 100644 --- a/host/scripts/snes/v2proto_hirom.lua +++ b/host/scripts/snes/v2proto_hirom.lua @@ -26,6 +26,7 @@ local hardware_type = { [0x03] = "ROM and DSP1", [0x13] = "ROM and SuperFX", [0x15] = "ROM and SuperFX and Save RAM", + [0x1A] = "ROM and SuperFX and Save RAM", [0x23] = "ROM and OBC1", [0x33] = "ROM and SA-1", [0x43] = "ROM and S-DD1", @@ -68,7 +69,8 @@ local ram_size_tbl = { [0x01] = "16 kilobits", [0x02] = "32 kilobits", [0x03] = "64 kilobits", - [0x05] = "256 kilobits" + [0x05] = "256 kilobits", + [0x06] = "512 kilobits" } -- Translates ram size in header to KBytes. @@ -77,7 +79,8 @@ local ram_size_kb_tbl = { [0x01] = 2, [0x02] = 4, [0x03] = 8, - [0x05] = 32 + [0x05] = 32, + [0x06] = 64 } local destination_code = {