1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-23 05:29:23 +00:00

Merge branch 'master' into DMK

This commit is contained in:
Thomas Harte 2018-01-09 19:42:27 -05:00
commit 9f97fb738e

View File

@ -55,5 +55,5 @@ int MSXDSK::get_head_count() {
}
long MSXDSK::get_file_offset_for_position(Track::Address address) {
return (address.position*2 + address.head) * 512 * 9;
return (address.position*head_count_ + address.head) * 512 * 9;
}