diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp new file mode 100644 index 0000000..24a5e01 --- /dev/null +++ b/src/main.cpp @@ -0,0 +1,13 @@ +#include "Camera.hpp" +#include <tonc.h> + +int main() { + irq_init(NULL); + irq_enable(II_VBLANK); + + REG_DISPCNT = DCNT_MODE4; + + while (1) { + VBlankIntrWait(); + } +} |