- 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
This commit is contained in:
2025-11-26 13:46:46 +01:00
parent 830524c9eb
commit 2a2a670e1a
32 changed files with 913 additions and 813 deletions

View File

@@ -2,16 +2,16 @@
#include <amethyst/ctru.hpp>
namespace amy {
namespace ctru {
void init(unsigned int srvs) {
if (srvs & romfs) {
namespace Amy {
namespace Ctr {
void Init(ui srvs) {
if (srvs & Romfs) {
romfsInit();
}
if (srvs & gfx_def) {
if (srvs & GfxDefault) {
gfxInitDefault();
}
}
ull getTime() { return osGetTime(); }
} // namespace ctru
} // namespace amy
ull GetTime() { return osGetTime(); }
} // namespace Ctr
} // namespace Amy