mirror of
https://github.com/TomHarte/CLK.git
synced 2026-04-21 17:16:44 +00:00
Remove space, add brackets for clarity.
This commit is contained in:
@@ -45,5 +45,5 @@ int FD::head_count() const {
|
||||
|
||||
long FD::get_file_offset_for_position(const Track::Address address) const {
|
||||
// Determined empirically: disk images are not interleaved.
|
||||
return address.head * bytes_per_side + address.position.as_int() * bytes_per_track;
|
||||
return (address.head * bytes_per_side) + (address.position.as_int() * bytes_per_track);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user