Graphics are more important WHILST playing the game.
The music is still more memorable though (unless you are one of few people with a photographic memory)
Once you have remembered the game you may then remember "oh yeah it looked really nice" but those nice looks don't trigger memory on their own.