diff options
Diffstat (limited to 'tools/mem_diff.py')
| -rw-r--r-- | tools/mem_diff.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mem_diff.py b/tools/mem_diff.py index 2be12e8bd..ebee3554e 100644 --- a/tools/mem_diff.py +++ b/tools/mem_diff.py | |||
| @@ -640,7 +640,7 @@ def run_one(name, prog): | |||
| 640 | dis = os.path.join(tmp, "disasm") | 640 | dis = os.path.join(tmp, "disasm") |
| 641 | os.mkdir(dis) | 641 | os.mkdir(dis) |
| 642 | path = os.path.join(dis, name + ".s") | 642 | path = os.path.join(dis, name + ".s") |
| 643 | with open(path, "w", encoding="utf-8") as f: | 643 | with open(path, "w", encoding="utf-8", newline="\n") as f: |
| 644 | f.write(_listing(prog.lines)) | 644 | f.write(_listing(prog.lines)) |
| 645 | with open(os.path.join(tmp, name + ".dxbc"), "wb") as f: | 645 | with open(os.path.join(tmp, name + ".dxbc"), "wb") as f: |
| 646 | f.write(STUB_DXBC) | 646 | f.write(STUB_DXBC) |