1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-27 16:31:31 +00:00

Corrects test for ::tracks_differ.

This commit is contained in:
Thomas Harte 2020-07-20 19:48:20 -04:00
parent 47f121ee4c
commit 84dd194afd

View File

@ -72,7 +72,7 @@ class DiskImage {
@returns @c true if the tracks at the two addresses are different. @c false if they are the same track.
This can avoid some degree of work when disk images offer sub-head-position precision.
*/
virtual bool tracks_differ(Track::Address lhs, Track::Address rhs) { return lhs == rhs; }
virtual bool tracks_differ(Track::Address lhs, Track::Address rhs) { return lhs != rhs; }
};
class DiskImageHolderBase: public Disk {