Dragon Temple

Back in the room with the spinning flames.

There’s a switch on the wall by the door.  Shoot it and the ledge will turn into stairs.  Another switch on the floor will also be revealed.  Step on that to unlock the room’s final door.