diff --git a/app/src/main/cpp/skyline/gpu/quirk_manager.cpp b/app/src/main/cpp/skyline/gpu/quirk_manager.cpp index f4da43e7..4786ba60 100644 --- a/app/src/main/cpp/skyline/gpu/quirk_manager.cpp +++ b/app/src/main/cpp/skyline/gpu/quirk_manager.cpp @@ -3,7 +3,7 @@ #include "quirk_manager.h" -namespace skyline { +namespace skyline::gpu { QuirkManager::QuirkManager(const vk::PhysicalDeviceProperties &properties, const DeviceFeatures2 &deviceFeatures2, DeviceFeatures2 &enabledFeatures2, const std::vector &deviceExtensions, std::vector> &enabledExtensions) { for (auto &extension : deviceExtensions) { #define EXT_SET(name, property) \ @@ -16,9 +16,10 @@ namespace skyline { #define EXT_SET_V(name, property, version) \ case util::Hash(name): \ - if (name == extensionName && extensionVersion >= version) \ + if (name == extensionName && extensionVersion >= version) { \ property = true; \ enabledExtensions.push_back(std::array{name}); \ + } \ break std::string_view extensionName{extension.extensionName}; diff --git a/app/src/main/cpp/skyline/gpu/quirk_manager.h b/app/src/main/cpp/skyline/gpu/quirk_manager.h index 8e71889e..7841f169 100644 --- a/app/src/main/cpp/skyline/gpu/quirk_manager.h +++ b/app/src/main/cpp/skyline/gpu/quirk_manager.h @@ -6,7 +6,7 @@ #include #include -namespace skyline { +namespace skyline::gpu { /** * @brief Checks and stores all the quirks of the host GPU discovered at runtime */