yuzu qt: Remove global system instances from config, WaitTree, main
This commit is contained in:
		
							parent
							
								
									f84328934f
								
							
						
					
					
						commit
						fb66a455c4
					
				
					 69 changed files with 687 additions and 635 deletions
				
			
		|  | @ -7,6 +7,10 @@ | |||
| #include <memory> | ||||
| #include <QWidget> | ||||
| 
 | ||||
| namespace Core { | ||||
| class System; | ||||
| } | ||||
| 
 | ||||
| namespace ConfigurationShared { | ||||
| enum class CheckState; | ||||
| } | ||||
|  | @ -19,17 +23,16 @@ class ConfigureGraphicsAdvanced : public QWidget { | |||
|     Q_OBJECT | ||||
| 
 | ||||
| public: | ||||
|     explicit ConfigureGraphicsAdvanced(QWidget* parent = nullptr); | ||||
|     explicit ConfigureGraphicsAdvanced(Core::System& system_, QWidget* parent = nullptr); | ||||
|     ~ConfigureGraphicsAdvanced() override; | ||||
| 
 | ||||
|     void ApplyConfiguration(); | ||||
|     void SetConfiguration(); | ||||
| 
 | ||||
| private: | ||||
|     void changeEvent(QEvent* event) override; | ||||
|     void RetranslateUI(); | ||||
| 
 | ||||
|     void SetConfiguration(); | ||||
| 
 | ||||
|     void SetupPerGameUI(); | ||||
| 
 | ||||
|     std::unique_ptr<Ui::ConfigureGraphicsAdvanced> ui; | ||||
|  | @ -37,4 +40,6 @@ private: | |||
|     ConfigurationShared::CheckState use_vsync; | ||||
|     ConfigurationShared::CheckState use_asynchronous_shaders; | ||||
|     ConfigurationShared::CheckState use_fast_gpu_time; | ||||
| 
 | ||||
|     Core::System& system; | ||||
| }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 lat9nq
						lat9nq