From 38c4527acdf7e6e718777ddd1ce05ed9092da209 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sat, 25 Mar 2023 18:17:58 +0200 Subject: [PATCH] Fix wf binary mode --- debug.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debug.cpp b/debug.cpp index 4a7f2f24..0d8450ec 100644 --- a/debug.cpp +++ b/debug.cpp @@ -4718,6 +4718,9 @@ static void writeintomem (TCHAR **c) if (addr >= eaddr) break; } + if (fillmode && peekchar(c) == 0) { + *c = cb; + } } if (retry) { continue; -- 2.47.3