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); }