libnds
Graphics/3D/3D_Both_Screens/source/template.c