Caper in the Castro, a Macintosh HyperCard game from 1989, was the first known LGBT-themed video game. As the author CM Ralph explained in an interview from 2014, the game follows “a lesbian detective investigating the disappearance of a transgender woman in the Castro neighborhood of San Francisco.”
https://obscuritory.com/adventure/caper-in-the-castro/