fix mapping detection

This commit is contained in:
beyondcoast 2019-02-10 19:06:33 -06:00
parent 8f8bb2e9ff
commit ba94792de8
1 changed files with 2 additions and 1 deletions

View File

@ -758,7 +758,8 @@ local function process(process_opts, console_opts)
local internal_header = get_header()
local snes_mapping = console_opts["mapper"]
if snes_mapping == "" then
snes_mapping = internal_header["mapping"]
snes_mapping = lorom_name
if (internal_header["map_mode"] & 1) == 1 then map_mode_str = hirom_name end
print("Mapping not provided, " .. snes_mapping .. " detected.")
end