def update_dmadata(rom: LocalRom, file: File): key, start, end = file.dma_key, file.start, file.end rom.update_dmadata_record(key, start, end)
def update_dmadata(rom: LocalRom, file: File): key, start, end, from_file = file.dma_key, file.start, file.end, file.from_file rom.update_dmadata_record(key, start, end, from_file) file.dma_key = file.start