#include <3ds.h> #include #include namespace Amy { void App::Run() { pLast = Utils::GetTimeNano(); while (aptMainLoop() && !pExit) { ull c = Utils::GetTimeNano(); pDelta = static_cast(static_cast(c) - static_cast(pLast)) * 0.000001; pTime += pDelta * 0.001; pLast = c; Main(); } } } // namespace Amy