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/config.h

20 lines
373 B
C
Raw Normal View History

2016-04-05 05:27:28 +02:00
/*
* config.h
* by Aurora Wright
* Copyright (c) 2016 All Rights Reserved
*/
#pragma once
#include "types.h"
#define CFG_BOOTENV (*(vu32 *)0x10010000)
#define CONFIG(a) ((config >> (a + 16)) & 1)
#define MULTICONFIG(a) ((config >> (a * 2 + 6)) & 3)
#define BOOTCONFIG(a, b) ((config >> a) & b)
2016-04-05 05:27:28 +02:00
extern u32 config;
2016-04-05 05:27:28 +02:00
2016-04-11 21:14:51 +02:00
void configureCFW(const char *configPath);