- Added GetTime funcs to utils - Added Time() to App class to gather the apps run time in seconds - Updated almost every part of the sourcecode to the D7 Style guide
17 lines
276 B
C++
17 lines
276 B
C++
#include <3ds.h>
|
|
|
|
#include <amethyst/ctru.hpp>
|
|
|
|
namespace Amy {
|
|
namespace Ctr {
|
|
void Init(ui srvs) {
|
|
if (srvs & Romfs) {
|
|
romfsInit();
|
|
}
|
|
if (srvs & GfxDefault) {
|
|
gfxInitDefault();
|
|
}
|
|
}
|
|
ull GetTime() { return osGetTime(); }
|
|
} // namespace Ctr
|
|
} // namespace Amy
|