From a295c54c08cd56653a06b4fd094e85ede8cf971f Mon Sep 17 00:00:00 2001 From: Matthew Turk Date: Sun, 22 Sep 2024 17:49:35 -0500 Subject: [PATCH] Include seeking in file operations for log-fileio --- src/dos/dos_files.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/dos/dos_files.cpp b/src/dos/dos_files.cpp index 9a2a085c9d..e7880148e2 100644 --- a/src/dos/dos_files.cpp +++ b/src/dos/dos_files.cpp @@ -722,6 +722,11 @@ bool DOS_SeekFile(uint16_t entry,uint32_t * pos,uint32_t type,bool fcb) { DOS_SetError(DOSERR_INVALID_HANDLE); return false; } + + if (log_fileio) { + LOG(LOG_FILES, LOG_DEBUG)("Seeking to %d bytes from position type (%d) in %s ", *pos, type, Files[handle]->name); + } + return Files[handle]->Seek(pos,type); }