Added support for SNES autodetection of 256 Kb SRAM in v2proto_hirom

This commit is contained in:
Joel Smith 2019-07-09 22:36:21 -07:00
parent e9f47ec5d0
commit 4f56ea85a6
1 changed files with 23 additions and 21 deletions

View File

@ -64,6 +64,7 @@ local ram_size_tbl = {
[0x01] = "16 kilobits",
[0x02] = "32 kilobits",
[0x03] = "64 kilobits",
[0x05] = "256 kilobits"
}
-- Translates ram size in header to KBytes.
@ -72,6 +73,7 @@ local ram_size_kb_tbl = {
[0x01] = 2,
[0x02] = 4,
[0x03] = 8,
[0x05] = 32
}
local destination_code = {