Half the marriages end up in divorce nowadays because they quit too soon. instead of trying to make it work, they give up. Well I am against that, you can't always assume she is at fault, sometimes you gotta look in the mirror and figure out what's changed about you.
If nothing, than yes talk to her. Try to do some romantic shit, bring home flowers or cook her something or take her out on a date. TRY everything out before you ask her for a divorce. Kids that come from broken homes aren't exactly at an advantage over their friends. But others are right, broken home would probably be better than a home where the parents hate each other and it's obvious.
Never been married, so I don't know as much as the others. But don't give up too soon. Give love a chance.
Let us know what happens.