Update nds.cpp

wtf ;p