From 5808f694c38f54dbb4f525658f3814a2f3e7dd9f Mon Sep 17 00:00:00 2001 From: rozlette Date: Tue, 12 Nov 2019 22:12:04 -0600 Subject: [PATCH] fix old variable in extract_rom --- tools/extract_rom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/extract_rom.py b/tools/extract_rom.py index f86fe8306a..f4f5418550 100644 --- a/tools/extract_rom.py +++ b/tools/extract_rom.py @@ -1581,7 +1581,7 @@ if __name__ == '__main__': with open(args.input, 'rb') as f: romData = f.read() except IOError: - print('failed to read file ' + ROM_FILE_NAME) + print('failed to read file ' + args.input) sys.exit(1) dmadata_size = read_uint32_be(FILE_TABLE_OFFSET + 16 * 2 + 4) - read_uint32_be(FILE_TABLE_OFFSET + 16 * 2 + 0)