When you were there at his bedside, I'm sure he knew fully well how you felt for him. If you hadn't shown up at all, I'm sure that would be something more of a regret, but you were there and he saw that despite the fight that you still cared for him. Just take solace in the fact that he loved you a lot and was happy to have you there in his last moments.