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

17 lines
302 B
C
Raw Normal View History

/*
* utils.h
*/
#pragma once
#include "types.h"
2016-04-05 05:27:28 +02:00
u32 waitInput(void);
void mcuReboot(void);
#define TICKS_PER_SEC 67027964ULL
#define REG_TIMER_CNT(i) *(vu16 *)(0x10003002 + 4 * i)
#define REG_TIMER_VAL(i) *(vu16 *)(0x10003000 + 4 * i)
2016-05-13 05:01:32 +02:00
void chrono(u32 seconds);
void stopChrono(void);