From 26da05577b387bfc63d90914b82e8f76a4a13ba0 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sun, 12 May 2024 19:32:16 +0300 Subject: [PATCH] Flush log before including it with dump file. --- od-win32/win32.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/od-win32/win32.cpp b/od-win32/win32.cpp index af0c4b72..b71f3d40 100644 --- a/od-win32/win32.cpp +++ b/od-win32/win32.cpp @@ -3883,6 +3883,8 @@ uae_u8 *save_log(int bootlog, size_t *len) if (!logging_started) return NULL; + if (debugfile) + fflush(debugfile); f = _tfopen(bootlog ? LOG_BOOT : LOG_NORMAL, _T("rb")); if (!f) return NULL; -- 2.47.3