I believe its the second one, forgive me if im wrong.
I believe the answer is A but if not try B
Answer:
Disappointed by his performance, Harry left the room.
Explanation:
Since the function of the comma is to show where there is a slight break or pause in the sentence, it is used as shown.