Skip to content

Commit

Permalink
Include seeking in file operations for log-fileio
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewturk committed Sep 22, 2024
1 parent 645d77a commit a295c54
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/dos/dos_files.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit a295c54

Please sign in to comment.