mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-03 16:39:01 -06:00 
			
		
		
		
	backend: Remove usage of explicit operator overload
Causes a crash on MSVC from a race condition on application quit. Intended to address yuzu-emu/yuzu/issues/11137
This commit is contained in:
		@@ -108,7 +108,7 @@ public:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        using namespace Common::Literals;
 | 
					        using namespace Common::Literals;
 | 
				
			||||||
        // Prevent logs from exceeding a set maximum size in the event that log entries are spammed.
 | 
					        // Prevent logs from exceeding a set maximum size in the event that log entries are spammed.
 | 
				
			||||||
        const auto write_limit = Settings::values.extended_logging ? 1_GiB : 100_MiB;
 | 
					        const auto write_limit = Settings::values.extended_logging.GetValue() ? 1_GiB : 100_MiB;
 | 
				
			||||||
        const bool write_limit_exceeded = bytes_written > write_limit;
 | 
					        const bool write_limit_exceeded = bytes_written > write_limit;
 | 
				
			||||||
        if (entry.log_level >= Level::Error || write_limit_exceeded) {
 | 
					        if (entry.log_level >= Level::Error || write_limit_exceeded) {
 | 
				
			||||||
            if (write_limit_exceeded) {
 | 
					            if (write_limit_exceeded) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user