more c++ification
This commit is contained in:
1 parent
018325747d
commit
062b52c607
17 files changed
+74
-51
No files matched your search
@@ -21,9 +21,11 @@
|
||||
#include <hocclk.h>
|
||||
#include <switch.hpp>
|
||||
|
||||
using namespace nx;
|
||||
|
||||
#define WAIT_NS 1000000000UL
|
||||
|
||||
#define usleep(x) (nx::svc::SleepThread(1000UL * x))
|
||||
#define usleep(x) (svc::SleepThread(1000UL * x))
|
||||
|
||||
#define GPU_TRIM_SYS_GPCPLL_COEFF 0x4
|
||||
#define GPU_TRIM_SYS_GPCPLL(x) (*(volatile u32 *)(g_gpu_base + 0x137000ul + (x)))
|
||||
|
||||
Reference in new issue
Block a user