Fix null pointer typo, breaking savestates.