c++ bindings for libnx

This commit is contained in:
souldbminersmwc committed 2026-10-05 19:15:19 -04:00
1 parent b144c8d633
commit 018325747d
26 files changed
+33869 -41

No files matched your search

@@ -17,11 +17,13 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "t210.h"
#include "t210.hpp"
#include <hocclk.h>
#include <switch.hpp>
#define WAIT_NS 1000000000UL
#define usleep(x) svcSleepThread(1000UL * x)
#define usleep(x) (nx::svc::SleepThread(1000UL * x))
#define GPU_TRIM_SYS_GPCPLL_COEFF 0x4
#define GPU_TRIM_SYS_GPCPLL(x) (*(volatile u32 *)(g_gpu_base + 0x137000ul + (x)))