Feeling neglected

I’ve been struggling with PPD and now my boyfriend expressed to me that he is feeling depressed. He comes home from work to play his video game until midnight or so and doesn’t pay any attention to me or our baby. I get he is depressed I am too but I can’t neglect the world and people around me. Am I wrong for being upset with him for never spending family time or showing either of us attention?