more c++ification

This commit is contained in:
souldbminersmwc committed 2026-10-05 19:28:12 -04:00
1 parent 018325747d
commit 062b52c607
17 files changed
+74 -51

No files matched your search

+3 -1
View File
@@ -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)))