After three straight losses, including back-to-back blowouts, the San Francisco 49ers needed a get-right game.