N64FlashcartMenu
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
cic.h
Go to the documentation of this file.
1
7#ifndef CIC_H__
8#define CIC_H__
9
10#include <stdint.h>
11
12#define IPL3_LENGTH (4032)
13
34
43cic_type_t cic_detect(uint8_t *ipl3);
44
53uint8_t cic_get_seed(cic_type_t cic_type);
54
55#endif // CIC_H__
cic_type_t
Enumeration of different CIC types.
Definition cic.h:18
@ CIC_x102
Definition cic.h:23
@ CIC_x105
Definition cic.h:25
@ CIC_x106
Definition cic.h:26
@ CIC_6101
Definition cic.h:21
@ CIC_5167
Definition cic.h:20
@ CIC_5101
Definition cic.h:19
@ CIC_8303
Definition cic.h:29
@ CIC_UNKNOWN
Definition cic.h:32
@ CIC_8301
Definition cic.h:27
@ CIC_8401
Definition cic.h:30
@ CIC_x103
Definition cic.h:24
@ CIC_7102
Definition cic.h:22
@ CIC_8501
Definition cic.h:31
@ CIC_8302
Definition cic.h:28
uint8_t cic_get_seed(cic_type_t cic_type)
Gets the seed value for the specified CIC type.
Definition cic.c:203
cic_type_t cic_detect(uint8_t *ipl3)
Detects the CIC type based on the provided IPL3 data.
Definition cic.c:168