]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Include HDF size in bytes in log
authorToni Wilen <twilen@winuae.net>
Sat, 10 Jan 2026 09:46:55 +0000 (11:46 +0200)
committerToni Wilen <twilen@winuae.net>
Sat, 10 Jan 2026 09:46:55 +0000 (11:46 +0200)
od-win32/hardfile_win32.cpp

index ec3936db8a754890246829a2ec6fe6dd62d476c8..323a453187553fb7a8fe34a532801aa44ee296b7 100644 (file)
@@ -2292,8 +2292,8 @@ emptyreal:
                }
        }
        if (hfd->handle_valid || hfd->drive_empty) {
-               hfd_log (_T("HDF '%s' %p opened, size=%dK mode=%d empty=%d\n"),
-                       name, hfd, (int)(hfd->physsize / 1024), hfd->handle_valid, hfd->drive_empty);
+               hfd_log (_T("HDF '%s' %p opened, size=%dK (0x%llx) mode=%d empty=%d\n"),
+                       name, hfd, (int)(hfd->physsize / 1024), hfd->physsize, hfd->handle_valid, hfd->drive_empty);
                return 1;
        }
 end: