mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	telemetry: Log frontend type.
This commit is contained in:
		
							parent
							
								
									c781aea947
								
							
						
					
					
						commit
						40f417125b
					
				
					 2 changed files with 4 additions and 0 deletions
				
			
		|  | @ -165,6 +165,8 @@ int main(int argc, char** argv) { | ||||||
|         break; // Expected case
 |         break; // Expected case
 | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  |     Core::Telemetry().AddField(Telemetry::FieldType::App, "Frontend", "SDL"); | ||||||
|  | 
 | ||||||
|     while (emu_window->IsOpen()) { |     while (emu_window->IsOpen()) { | ||||||
|         system.RunLoop(); |         system.RunLoop(); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|  | @ -364,6 +364,8 @@ bool GMainWindow::LoadROM(const QString& filename) { | ||||||
| 
 | 
 | ||||||
|     const Core::System::ResultStatus result{system.Load(render_window, filename.toStdString())}; |     const Core::System::ResultStatus result{system.Load(render_window, filename.toStdString())}; | ||||||
| 
 | 
 | ||||||
|  |     Core::Telemetry().AddField(Telemetry::FieldType::App, "Frontend", "Qt"); | ||||||
|  | 
 | ||||||
|     if (result != Core::System::ResultStatus::Success) { |     if (result != Core::System::ResultStatus::Success) { | ||||||
|         switch (result) { |         switch (result) { | ||||||
|         case Core::System::ResultStatus::ErrorGetLoader: |         case Core::System::ResultStatus::ErrorGetLoader: | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue