N64FlashcartMenu
Loading...
Searching...
No Matches
boot.h
Go to the documentation of this file.
1
7#ifndef BOOT_H__
8#define BOOT_H__
9
10
11#include <stdbool.h>
12#include <stdint.h>
13
14
16typedef enum {
17 BOOT_DEVICE_TYPE_ROM = 0,
18 BOOT_DEVICE_TYPE_64DD = 1,
20
22typedef enum {
23 BOOT_RESET_TYPE_COLD = 0,
24 BOOT_RESET_TYPE_NMI = 1,
26
28typedef enum {
29 BOOT_TV_TYPE_PAL = 0,
30 BOOT_TV_TYPE_NTSC = 1,
31 BOOT_TV_TYPE_MPAL = 2,
32 BOOT_TV_TYPE_PASSTHROUGH = 3,
34
36typedef struct {
37 boot_device_type_t device_type;
38 boot_tv_type_t tv_type;
39 uint8_t cic_seed;
40 bool detect_cic_seed;
42
43
44bool boot_is_warm (void);
45void boot (boot_params_t *params);
46
47
48#endif
boot_reset_type_t
Reset type enumeration.
Definition: boot.h:22
boot_tv_type_t
TV type enumeration.
Definition: boot.h:28
boot_device_type_t
Boot device type enumeration.
Definition: boot.h:16
Boot Parameters Structure.
Definition: boot.h:36