mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-11-04 07:38:47 +00:00 
			
		
		
		
	Merge pull request #5398 from lioncash/call
am: Remove redundant c_str() calls
This commit is contained in:
		
						commit
						1643cf5b86
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -447,7 +447,7 @@ std::string GetTitleMetadataPath(Service::FS::MediaType media_type, u64 tid, boo
 | 
			
		|||
        Common::SplitPath(entry.virtualName, nullptr, &filename_filename, &filename_extension);
 | 
			
		||||
 | 
			
		||||
        if (filename_extension == ".tmd") {
 | 
			
		||||
            u32 id = std::stoul(filename_filename.c_str(), nullptr, 16);
 | 
			
		||||
            const u32 id = std::stoul(filename_filename, nullptr, 16);
 | 
			
		||||
            base_id = std::min(base_id, id);
 | 
			
		||||
            update_id = std::max(update_id, id);
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			@ -548,7 +548,7 @@ void Module::ScanForTitles(Service::FS::MediaType media_type) {
 | 
			
		|||
            std::string tid_string = tid_high.virtualName + tid_low.virtualName;
 | 
			
		||||
 | 
			
		||||
            if (tid_string.length() == TITLE_ID_VALID_LENGTH) {
 | 
			
		||||
                u64 tid = std::stoull(tid_string.c_str(), nullptr, 16);
 | 
			
		||||
                const u64 tid = std::stoull(tid_string, nullptr, 16);
 | 
			
		||||
 | 
			
		||||
                FileSys::NCCHContainer container(GetTitleContentPath(media_type, tid));
 | 
			
		||||
                if (container.Load() == Loader::ResultStatus::Success)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue