This repository has been archived on 2022-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
Luma3DS-3GX/source/types.h

35 lines
579 B
C
Raw Normal View History

2015-08-05 03:57:37 +02:00
/*
* types.h
*/
2016-03-06 03:41:07 +01:00
#pragma once
2015-08-05 03:57:37 +02:00
#include <stdint.h>
#include <stdlib.h>
#include <stdbool.h>
2015-08-05 03:57:37 +02:00
//Common data types
typedef uint8_t u8;
typedef uint16_t u16;
typedef uint32_t u32;
typedef uint64_t u64;
typedef volatile u8 vu8;
typedef volatile u16 vu16;
typedef volatile u32 vu32;
2016-06-12 22:14:52 +02:00
typedef volatile u64 vu64;
//Used by multiple files:
typedef enum FirmwareSource
{
FIRMWARE_SYSNAND = 0,
FIRMWARE_EMUNAND = 1,
FIRMWARE_EMUNAND2 = 2
} FirmwareSource;
typedef enum FirmwareType
{
NATIVE_FIRM = 0,
TWL_FIRM = 1,
AGB_FIRM = 2,
SAFE_FIRM = 3
} FirmwareType;