mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	Merge pull request #1923 from yuriks/fix-recursive
Fix recursive scanning of directories
This commit is contained in:
		
						commit
						4d31874c7c
					
				
					 3 changed files with 15 additions and 22 deletions
				
			
		|  | @ -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) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue