@Shoko0505 don't think that's how it works. If anything it just means he's bi. No matter what, he still fell for her thinking she was a man.
If in reverse, a guy falls for a girl, thinking she's a girl, and then later finds out that girl was another guy, is he gay? No, probably bi. Or, if he...