mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-03 16:39:01 -06:00 
			
		
		
		
	Settings: add option to enable / disable reactive flushing
This commit is contained in:
		@@ -465,7 +465,8 @@ struct Memory::Impl {
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (Settings::IsFastmemEnabled()) {
 | 
			
		||||
            system.DeviceMemory().buffer.Protect(vaddr, size, !cached, !cached);
 | 
			
		||||
            const bool is_read_enable = !Settings::values.use_reactive_flushing.GetValue() || !cached;
 | 
			
		||||
            system.DeviceMemory().buffer.Protect(vaddr, size, is_read_enable, !cached);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        // Iterate over a contiguous CPU address space, which corresponds to the specified GPU
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user