mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	Remove some global usages of system (#6688)
This commit is contained in:
		
							parent
							
								
									943d5eeddf
								
							
						
					
					
						commit
						d702915624
					
				
					 14 changed files with 57 additions and 35 deletions
				
			
		|  | @ -8,8 +8,8 @@ | |||
| #include "core/frontend/applets/swkbd.h" | ||||
| 
 | ||||
| namespace Frontend { | ||||
| void RegisterDefaultApplets() { | ||||
|     Core::System::GetInstance().RegisterSoftwareKeyboard(std::make_shared<DefaultKeyboard>()); | ||||
|     Core::System::GetInstance().RegisterMiiSelector(std::make_shared<DefaultMiiSelector>()); | ||||
| void RegisterDefaultApplets(Core::System& system) { | ||||
|     system.RegisterSoftwareKeyboard(std::make_shared<DefaultKeyboard>()); | ||||
|     system.RegisterMiiSelector(std::make_shared<DefaultMiiSelector>()); | ||||
| } | ||||
| } // namespace Frontend
 | ||||
|  |  | |||
|  | @ -9,5 +9,5 @@ namespace Frontend { | |||
|  * Registers default, frontend-independent applet implementations. | ||||
|  * Will be replaced later if any frontend-specific implementation is available. | ||||
|  */ | ||||
| void RegisterDefaultApplets(); | ||||
| void RegisterDefaultApplets(Core::System& system); | ||||
| } // namespace Frontend
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue