C64Lib.Core.Job1541.SyncFound C# (CSharp) Method

SyncFound() public method

public SyncFound ( ) : bool
return bool
        public bool SyncFound()
        {
            if (gcr_data[gcr_ptr] == 0xff)
                return true;
            else
            {
                gcr_ptr++;		// Rotate disk
                if (gcr_ptr == gcr_track_end)
                    gcr_ptr = gcr_track_start;
                return false;
            }
        }