mirror of
https://github.com/akuker/RASCSI.git
synced 2024-12-21 23:29:39 +00:00
Fixed capacity calculation for small drives (#346)
This commit is contained in:
parent
b8722efe0b
commit
00e8855e41
@ -52,6 +52,7 @@ void SCSIHD::FinalizeSetup(const Filepath &path, off_t size)
|
||||
unit = "MB";
|
||||
}
|
||||
else {
|
||||
capacity /= 1000;
|
||||
unit = "KB";
|
||||
}
|
||||
stringstream product;
|
||||
|
Loading…
Reference in New Issue
Block a user