TDT/arm9/src/main.h
Pk11 ee8da6519d Better NAND written check
Previously it'd break if you missed anywhere
2022-01-09 14:38:14 -06:00

24 lines
457 B
C

#ifndef MAIN_H
#define MAIN_H
#include <nds.h>
#include <fat.h>
#include <stdio.h>
extern bool programEnd;
void installMenu();
void titleMenu();
void backupMenu();
void testMenu();
extern PrintConsole topScreen;
extern PrintConsole bottomScreen;
void clearScreen(PrintConsole* screen);
#define abs(X) ( (X) < 0 ? -(X): (X) )
#define sign(X) ( ((X) > 0) - ((X) < 0) )
#define repeat(X) for (int _I_ = 0; _I_ < (X); _I_++)
#endif