Newer
Older
uwuboot / include / arm9 / main.h
@derrek derrek on 25 Jul 2016 642 bytes sleep_wait -> wait
#pragma once

#include "arm9/fatfs/ff.h"
#include "arm9/console.h"

typedef struct {
	char	model[0x10];
	bool	unit_is_new3ds;
	char	boot_env[0x20];
	char	mode[7];
	char	fw_ver1[10];
	char	fw_ver2[10];
	bool	wififlash_status;
	bool	nand_status;
	bool	sd_status;
} bootInfoStruct;

bootInfoStruct bootInfo;

/*
typedef struct {
	
} configFileStruct;

configFileStruct configFile;
*/

// PrintConsole for each screen
PrintConsole con_top, con_bottom;
// SD card FAT fs instance
FATFS sd_fs;
// same for all NAND filesystems
FATFS nand_twlnfs, nand_twlpfs, nand_fs;

void devs_close();
void unmount_fs();
u8 rng_get_byte();
void clearConsoles();