N64FlashcartMenu/src/main.c

22 lines
323 B
C
Raw Normal View History

2023-02-14 22:26:40 +01:00
#include <libdragon.h>
#include "boot/boot.h"
2023-07-02 21:52:58 +02:00
#include "menu/menu.h"
2023-02-14 22:26:40 +01:00
int main (void) {
boot_params_t boot_params;
2023-02-24 15:24:59 +01:00
menu_run(&boot_params);
2023-02-14 22:26:40 +01:00
disable_interrupts();
2023-02-14 22:26:40 +01:00
boot(&boot_params);
2023-02-14 22:26:40 +01:00
assertf(false, "Unexpected return from 'boot' function");
while (true) {
// Shouldn't get here
}
2023-02-14 22:26:40 +01:00
}