diff options
author | bunnei <bunneidev@gmail.com> | 2016-06-22 22:27:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-22 22:27:12 +0200 |
commit | 4d31874c7c028f18c5336fe2f9d1edc934473c23 (patch) | |
tree | ee295fae7d41b782df99b1d15ad13f5da0c2c325 /src/citra_qt | |
parent | Merge pull request #1922 from yuriks/microprofile-dpi-fix (diff) | |
parent | Fix recursive scanning of directories (diff) | |
download | yuzu-4d31874c7c028f18c5336fe2f9d1edc934473c23.tar yuzu-4d31874c7c028f18c5336fe2f9d1edc934473c23.tar.gz yuzu-4d31874c7c028f18c5336fe2f9d1edc934473c23.tar.bz2 yuzu-4d31874c7c028f18c5336fe2f9d1edc934473c23.tar.lz yuzu-4d31874c7c028f18c5336fe2f9d1edc934473c23.tar.xz yuzu-4d31874c7c028f18c5336fe2f9d1edc934473c23.tar.zst yuzu-4d31874c7c028f18c5336fe2f9d1edc934473c23.zip |
Diffstat (limited to 'src/citra_qt')
-rw-r--r-- | src/citra_qt/game_list.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/citra_qt/game_list.cpp b/src/citra_qt/game_list.cpp index 15484fae3..1910da3ac 100644 --- a/src/citra_qt/game_list.cpp +++ b/src/citra_qt/game_list.cpp @@ -120,11 +120,9 @@ void GameList::LoadInterfaceLayout() void GameListWorker::AddFstEntriesToGameList(const std::string& dir_path, unsigned int recursion) { - const auto callback = [&](unsigned* num_entries_out, - const std::string& directory, - const std::string& virtual_name, - unsigned int recursion) -> bool { - + const auto callback = [this, recursion](unsigned* num_entries_out, + const std::string& directory, + const std::string& virtual_name) -> bool { std::string physical_name = directory + DIR_SEP + virtual_name; if (stop_processing) |