diff --git a/app/src/main/cpp/skyline/services/nvdrv/core/syncpoint_manager.h b/app/src/main/cpp/skyline/services/nvdrv/core/syncpoint_manager.h index ee9c9ade..b9e08c2e 100644 --- a/app/src/main/cpp/skyline/services/nvdrv/core/syncpoint_manager.h +++ b/app/src/main/cpp/skyline/services/nvdrv/core/syncpoint_manager.h @@ -13,8 +13,8 @@ namespace skyline::service::nvdrv::core { */ enum class ChannelType : u32 { MsEnc = 0, - Vic = 1, - Gpu = 2, + VIC = 1, + GPU = 2, NvDec = 3, Display = 4, NvJpg = 5, @@ -55,8 +55,8 @@ namespace skyline::service::nvdrv::core { public: static constexpr std::array(ChannelType::Max)> ChannelSyncpoints{ 0x0, // `MsEnc` is unimplemented - 0xC, // `Vic` - 0x0, // `Gpu` syncpoints are allocated per-channel instead + 0xC, // `VIC` + 0x0, // `GPU` syncpoints are allocated per-channel instead 0x36, // `NvDec` 0x0, // `Display` is unimplemented 0x37, // `NvJpg` diff --git a/app/src/main/cpp/skyline/services/nvdrv/driver.cpp b/app/src/main/cpp/skyline/services/nvdrv/driver.cpp index d65fdf5d..5cc1e1eb 100644 --- a/app/src/main/cpp/skyline/services/nvdrv/driver.cpp +++ b/app/src/main/cpp/skyline/services/nvdrv/driver.cpp @@ -48,7 +48,7 @@ namespace skyline::service::nvdrv { DEVICE_SWITCH(DEVICE_CASE("/dev/nvhost-nvjpg", nvhost::Host1xChannel, core::ChannelType::NvJpg)) if (ctx.perms.AccessVic) - DEVICE_SWITCH(DEVICE_CASE("/dev/nvhost-vic", nvhost::Host1xChannel, core::ChannelType::Vic)) + DEVICE_SWITCH(DEVICE_CASE("/dev/nvhost-vic", nvhost::Host1xChannel, core::ChannelType::VIC)) if (ctx.perms.AccessVideoDecoder) DEVICE_SWITCH(DEVICE_CASE("/dev/nvhost-nvdec", nvhost::Host1xChannel, core::ChannelType::NvDec))