15 lines
267 B
C
15 lines
267 B
C
/*
|
|
* config.h
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "types.h"
|
|
|
|
#define CONFIG(a) (((config >> (a + 16)) & 1) != 0)
|
|
#define MULTICONFIG(a) ((config >> (a * 2 + 6)) & 3)
|
|
#define BOOTCONFIG(a, b) ((config >> a) & b)
|
|
|
|
extern u32 config;
|
|
|
|
void configureCFW(const char *configPath); |