mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	Address review comments
This commit is contained in:
		
							parent
							
								
									35f7f5e3e3
								
							
						
					
					
						commit
						de1fe7e6e3
					
				
					 5 changed files with 54 additions and 27 deletions
				
			
		|  | @ -61,6 +61,7 @@ | |||
| #include "common/common_paths.h" | ||||
| #include "common/detached_tasks.h" | ||||
| #include "common/file_util.h" | ||||
| #include "common/literals.h" | ||||
| #include "common/logging/backend.h" | ||||
| #include "common/logging/filter.h" | ||||
| #include "common/logging/log.h" | ||||
|  | @ -214,10 +215,10 @@ GMainWindow::GMainWindow() | |||
|     LOG_INFO(Frontend, "Host CPU: {}", cpu_string); | ||||
| #endif | ||||
|     LOG_INFO(Frontend, "Host OS: {}", QSysInfo::prettyProductName().toStdString()); | ||||
|     LOG_INFO(Frontend, "Host RAM: {:.2f} GB", | ||||
|              Common::GetMemInfo().TotalPhysicalMemory / 1024.0f / 1024 / 1024); | ||||
|     LOG_INFO(Frontend, "Host Swap: {:.2f} GB", | ||||
|              Common::GetMemInfo().TotalSwapMemory / 1024.0f / 1024 / 1024); | ||||
|     const auto& mem_info = Common::GetMemInfo(); | ||||
|     using namespace Common::Literals; | ||||
|     LOG_INFO(Frontend, "Host RAM: {:.2f} GiB", mem_info.total_physical_memory / f64{1_GiB}); | ||||
|     LOG_INFO(Frontend, "Host Swap: {:.2f} GiB", mem_info.total_swap_memory / f64{1_GiB}); | ||||
|     UpdateWindowTitle(); | ||||
| 
 | ||||
|     show(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue