Nintendo’s newest piece of hardware, the Nintendo 3DS, has hit the 4 million mark in sales, the company announced Tuesday. The handheld gaming device, which had a rocky debut last March because of a high price tag ($249.99) and a weak line of game titles at launch, got its second wind over the holidays.

That’s likely thanks to a drastic price cut that made the 3D gaming device a more-affordable $169.99, and the addition of higher-quality games such as Super Mario 3D Land and Mario Kart 7 — both of which sold 1 million units each in the U.S., the company reported. The company also said it sold 4.5 million Wii consoles in 2011, somewhat surprising given the console’s age and the anticipation surrounding Nintendo’s upcoming console, the Wii U.

The sales figures are good news for Nintendo, which is facing a new competitor for the ever-shrinking market of gamers looking for a dedicated handheld device. The Sony PlayStation Vita is set to launch in the U.S. in February, but that device has also faced some problems when it made its debut in Japan.

The Vita features a five-inch touchscreen, rear touchpad and front- and rear-facing cameras. It is scheduled to start selling in the United States on Feb. 22. The WiFi version will cost $250; adding 3G connectivity bumps the price up to $300.

On launch day, Vita titles will include Sony’s Uncharted: Golden Abyss, Square Enix’s Army Corps of Hell, EA’s EA Sports FIFA Soccer and Plants vs. Zombies.

Related stories:

Nintendo 3DS will record in 3D

PlayStation Vita’s Japanese launch is a mixed bag

OnLive releases gaming app for tablets, phones