Cosmetics - use a constant instead of a literal for block size

This commit is contained in:
2012-07-07 13:59:59 +00:00
parent 842f59c6c7
commit 14ed4324d6
1 changed files with 1 additions and 2 deletions

View File

@ -497,8 +497,7 @@ public class Disk {
return prodosVolumeDirectory[0] == 0 &&
prodosVolumeDirectory[1] == 0 &&
(prodosVolumeDirectory[4]&0xf0) == 0xf0 &&
(volDirEntryLength * volDirEntriesPerBlock <= 512)
;
(volDirEntryLength * volDirEntriesPerBlock <= BLOCK_SIZE);
}
/**