mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-11-03 23:28:48 +00:00 
			
		
		
		
	Merge pull request #3227 from MerryMage/cro
Allow for partial invalidation of instruction cache
This commit is contained in:
		
						commit
						d8ba07a430
					
				
					 8 changed files with 26 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -187,6 +187,10 @@ void ARM_Dynarmic::ClearInstructionCache() {
 | 
			
		|||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void ARM_Dynarmic::InvalidateCacheRange(u32 start_address, size_t length) {
 | 
			
		||||
    jit->InvalidateCacheRange(start_address, length);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void ARM_Dynarmic::PageTableChanged() {
 | 
			
		||||
    current_page_table = Memory::GetCurrentPageTable();
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -41,6 +41,7 @@ public:
 | 
			
		|||
    void PrepareReschedule() override;
 | 
			
		||||
 | 
			
		||||
    void ClearInstructionCache() override;
 | 
			
		||||
    void InvalidateCacheRange(u32 start_address, size_t length) override;
 | 
			
		||||
    void PageTableChanged() override;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue