diff --git a/app/src/main/cpp/skyline/services/nvdrv/driver.cpp b/app/src/main/cpp/skyline/services/nvdrv/driver.cpp index a0d651ea..340ac62d 100644 --- a/app/src/main/cpp/skyline/services/nvdrv/driver.cpp +++ b/app/src/main/cpp/skyline/services/nvdrv/driver.cpp @@ -23,12 +23,12 @@ namespace skyline::service::nvdrv { break; \ } - #define DEVICE_CASE(path, object) \ - case util::Hash(path): \ - { \ - std::unique_lock lock(deviceMutex); \ - devices.emplace(fd, std::make_unique(state, *this, core, ctx)); \ - return NvResult::Success; \ + #define DEVICE_CASE(path, object, ...) \ + case util::Hash(path): \ + { \ + std::unique_lock lock(deviceMutex); \ + devices.emplace(fd, std::make_unique(state, *this, core, ctx, ##__VA_ARGS__)); \ + return NvResult::Success; \ } DEVICE_SWITCH(