Added support for SNES autodetection of 256 Kb SRAM in v2proto_hirom
This commit is contained in:
parent
e9f47ec5d0
commit
4f56ea85a6
|
|
@ -64,6 +64,7 @@ local ram_size_tbl = {
|
||||||
[0x01] = "16 kilobits",
|
[0x01] = "16 kilobits",
|
||||||
[0x02] = "32 kilobits",
|
[0x02] = "32 kilobits",
|
||||||
[0x03] = "64 kilobits",
|
[0x03] = "64 kilobits",
|
||||||
|
[0x05] = "256 kilobits"
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Translates ram size in header to KBytes.
|
-- Translates ram size in header to KBytes.
|
||||||
|
|
@ -72,6 +73,7 @@ local ram_size_kb_tbl = {
|
||||||
[0x01] = 2,
|
[0x01] = 2,
|
||||||
[0x02] = 4,
|
[0x02] = 4,
|
||||||
[0x03] = 8,
|
[0x03] = 8,
|
||||||
|
[0x05] = 32
|
||||||
}
|
}
|
||||||
|
|
||||||
local destination_code = {
|
local destination_code = {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue