commit | fc0e014beaa6935576e93cf440f8b3d960b2d3f7 | [log] [tgz] |
---|---|---|
author | Rod Smith <[email protected]> | Tue Jul 25 21:33:18 2017 -0400 |
committer | Rod Smith <[email protected]> | Tue Jul 25 21:33:18 2017 -0400 |
tree | c56a222096e64eac963c84b64d4c7bdc47c869ca | |
parent | 2a6daafeda4876dc694b97a41f5b0d0626a6fa16 [diff] [blame] |
Added code to read physical block size on Linux.
diff --git a/diskio.h b/diskio.h index 631a43a..26f113d 100644 --- a/diskio.h +++ b/diskio.h
@@ -71,6 +71,7 @@ int Write(void* buffer, int numBytes); int DiskSync(void); // resync disk caches to use new partitions int GetBlockSize(void); + int GetPhysBlockSize(void); uint32_t GetNumHeads(void); uint32_t GetNumSecsPerTrack(void); int IsOpen(void) {return isOpen;}