We know that he remembers the past year (because he knows the family is in trouble) but we also know that he’s in the hospital scene which seems to happen when they get back to SB but before Emma comes home?
If the crap is hitting the fan in SB with the green smoke and the flying monkeys and whatnot, then that’s enough for him to be able to tell Emma that her family are in danger. He doesn’t need to remember any info from the missing year in order to know that her family are currently in danger in SB.