@ChristiJunior @rasterman @rlier23 @Hoss I wouldn't say they have ever been "in trouble" necessarily because their handhelds have done really well.
GBA (2001): 81.5m
DS (2004/2006 [Lite]): 150m
3DS (2011): 75.9m
There is a good reason why Nintendo consolidated their console and handheld projects into one. The handhelds all outsold their console counterparts. Now, their hybrid has nearly outsold the DS, their most popular piece of tech.