libnx/nx/include/switch/nvidia/channel.h

12 lines
253 B
C

#include "ioctl.h"
typedef struct NvChannel {
u32 fd;
bool has_init;
} NvChannel;
Result nvchannelCreate(NvChannel* c, const char* dev);
void nvchannelClose(NvChannel* c);
Result nvchannelSetPriority(NvChannel* c, NvChannelPriority prio);