mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	core\loader\ncch.cpp: skip parsing Region info, if user has already... (#6463)
This commit is contained in:
		
							parent
							
								
									2c74ed1a6d
								
							
						
					
					
						commit
						000a616bd9
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		|  | @ -11,6 +11,7 @@ | |||
| #include <vector> | ||||
| #include <fmt/format.h> | ||||
| #include "common/logging/log.h" | ||||
| #include "common/settings.h" | ||||
| #include "common/string_util.h" | ||||
| #include "common/swap.h" | ||||
| #include "core/core.h" | ||||
|  | @ -164,6 +165,10 @@ ResultStatus AppLoader_NCCH::LoadExec(std::shared_ptr<Kernel::Process>& process) | |||
| } | ||||
| 
 | ||||
| void AppLoader_NCCH::ParseRegionLockoutInfo(u64 program_id) { | ||||
|     if (Settings::values.region_value.GetValue() != Settings::REGION_VALUE_AUTO_SELECT) { | ||||
|         return; | ||||
|     } | ||||
| 
 | ||||
|     auto cfg = Service::CFG::GetModule(Core::System::GetInstance()); | ||||
|     ASSERT_MSG(cfg, "CFG Module missing!"); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue