If Charles had become King when he was still married to Diana, I think Diana would be Queen, period, not Queen consort. Ancient rules about gender precedence - a woman who succeeds to the throne can't make her husband the King, but when a man succeeds to the throne, his wife is Queen. A King can make a Queen, but a Queen can't make a King.
I could be wrong, I'm no expert on royal succession :-D