diff --git a/README.md b/README.md index 2c13fd1..aa82d43 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,10 @@ **lsfg-vk** is a Vulkan layer that hooks into Vulkan applications and generates additional frames using Lossless Scaling's frame generation algorithm. >[!CAUTION] ->You are reading the README for the upcoming version 2.0 of lsfg-vk. For the stable version 1.x, [please read here](https://github.com/PancakeTAS/lsfg-vk/tree/ff1a0f72a7d6d08b84d58b7b4dc5f05c9f904f98) +> You are reading the README for the upcoming version 2.0 of lsfg-vk. For the stable version 1.x, [please read here](https://github.com/PancakeTAS/lsfg-vk/tree/ff1a0f72a7d6d08b84d58b7b4dc5f05c9f904f98) ## Installation ->[!INFO] +>[!TIP] > If you are on a Steam Deck or similar handheld, consider using the [Decky plugin for lsfg-vk](https://github.com/xXJSONDeruloXx/decky-lsfg-vk). This is an easy way to install and configure lsfg-vk on the Steam Deck. > Please keep in mind that it is not officially supported and support questions should be directed to the plugin's repository & discord. diff --git a/lsfg-vk-common/src/configuration/detection.cpp b/lsfg-vk-common/src/configuration/detection.cpp index 2a8a5dd..307009d 100644 --- a/lsfg-vk-common/src/configuration/detection.cpp +++ b/lsfg-vk-common/src/configuration/detection.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include @@ -36,7 +37,7 @@ namespace { std::optional matchEndsWithId(const std::vector& profiles, const std::string& id) { for (const auto& profile : profiles) for (const auto& activation : profile.active_in) - if (activation.ends_with(id)) + if (id.ends_with(activation)) return profile; return std::nullopt; } @@ -102,6 +103,8 @@ std::optional> ls::findProfile( const ConfigFile& config, const Identification& id) { const auto& profiles = config.profiles(); + std::cerr << "wine exec: " << (id.wine_executable.has_value() ? id.wine_executable.value() : "none") << "\n"; + // check for the environment option first if (std::getenv("LSFGVK_ENV") != nullptr) return std::make_pair(IdentType::OVERRIDE, profiles.front());