mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	build: Update to support multi-arch builds.
This commit is contained in:
		
							parent
							
								
									0e325255f3
								
							
						
					
					
						commit
						a8848cce43
					
				
					 25 changed files with 114 additions and 66 deletions
				
			
		|  | @ -1,7 +1,8 @@ | |||
| // SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
 | ||||
| // SPDX-License-Identifier: GPL-2.0-or-later
 | ||||
| 
 | ||||
| #if defined(ARCHITECTURE_x86_64) || defined(ARCHITECTURE_arm64) | ||||
| #include "common/arch.h" | ||||
| #if CITRA_ARCH(x86_64) || CITRA_ARCH(arm64) | ||||
| #include "core/arm/dynarmic/arm_exclusive_monitor.h" | ||||
| #endif | ||||
| #include "common/settings.h" | ||||
|  | @ -14,7 +15,7 @@ ExclusiveMonitor::~ExclusiveMonitor() = default; | |||
| 
 | ||||
| std::unique_ptr<Core::ExclusiveMonitor> MakeExclusiveMonitor(Memory::MemorySystem& memory, | ||||
|                                                              std::size_t num_cores) { | ||||
| #if defined(ARCHITECTURE_x86_64) || defined(ARCHITECTURE_arm64) | ||||
| #if CITRA_ARCH(x86_64) || CITRA_ARCH(arm64) | ||||
|     if (Settings::values.use_cpu_jit) { | ||||
|         return std::make_unique<Core::DynarmicExclusiveMonitor>(memory, num_cores); | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue