configuration: Use forward declares and remove extraneous structs
This commit is contained in:
		
							parent
							
								
									335aef78c4
								
							
						
					
					
						commit
						3ef4769f31
					
				
					 10 changed files with 59 additions and 63 deletions
				
			
		|  | @ -6,7 +6,10 @@ | |||
| 
 | ||||
| #include <memory> | ||||
| #include <QWidget> | ||||
| #include "yuzu/configuration/configuration_shared.h" | ||||
| 
 | ||||
| namespace ConfigurationShared { | ||||
| enum class CheckState; | ||||
| } | ||||
| 
 | ||||
| namespace Ui { | ||||
| class ConfigureGraphicsAdvanced; | ||||
|  | @ -31,11 +34,9 @@ private: | |||
| 
 | ||||
|     std::unique_ptr<Ui::ConfigureGraphicsAdvanced> ui; | ||||
| 
 | ||||
|     struct Trackers { | ||||
|         ConfigurationShared::CheckState use_vsync; | ||||
|         ConfigurationShared::CheckState use_assembly_shaders; | ||||
|         ConfigurationShared::CheckState use_asynchronous_shaders; | ||||
|         ConfigurationShared::CheckState use_fast_gpu_time; | ||||
|         ConfigurationShared::CheckState force_30fps_mode; | ||||
|     } trackers; | ||||
|     ConfigurationShared::CheckState use_vsync; | ||||
|     ConfigurationShared::CheckState use_assembly_shaders; | ||||
|     ConfigurationShared::CheckState use_asynchronous_shaders; | ||||
|     ConfigurationShared::CheckState use_fast_gpu_time; | ||||
|     ConfigurationShared::CheckState force_30fps_mode; | ||||
| }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 lat9nq
						lat9nq