Roger Federer moved to within two wins of a 100th career title on Thursday after coming through a tough test in difficult conditions against Marton Fucsovics to reach the Dubai Championships semi-finals.
The seven-time champion beat his Hungarian opponent 7-6 (8/6), 6-4 in conditions which were far from comfortable with gusting winds and brief rain delays.
"You just go out there and try your best. Sometimes you get in the lead, sometimes you don't. It was important not to get down in the score early on," Federer said.
"It was tricky. A couple of rain delays, especially one at 5-all, coming back with sort of no preparation.
"The energy of the body, the adrenaline, tactics, all that stuff kind of fades away just a little bit in those rain delays.
"We made the most of it, the tie-breaker was tough. I'm happy I found a way to get out of that one. That was an exciting match, to say the least."
The 20-time Grand Slam winner will face Borna Coric after the Croatian sixth seed defeated Nikoloz Basilashvili of Georgia 4-6, 6-2, 7-6 (7/1).
"You look at the score at home and it looks like an easy straight sets," said Federer.
"But it is so close, you can never underestimate anyone. I'm very happy with my level. It was tough with the wind, but it's a challenge and that's why I'm here."
Federer had to save two set points in an opener which lasted for just over an hour.
He then got into his rhythm but needed a big effort to break on his fifth chance of the ninth game of the second set, taking a 5-4 lead before serving it out on his second match point.