mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
				synced 2025-03-21 01:53:15 +00:00 
			
		
		
		
	Merge pull request #1564 from lioncash/npad
npad: Remove unused controller variable from OnInit()
This commit is contained in:
		
						commit
						ce2403d975
					
				@ -108,9 +108,10 @@ void Controller_NPad::OnInit() {
 | 
			
		||||
    styleset_changed_event =
 | 
			
		||||
        Kernel::Event::Create(kernel, Kernel::ResetType::OneShot, "npad:NpadStyleSetChanged");
 | 
			
		||||
 | 
			
		||||
    if (!IsControllerActivated())
 | 
			
		||||
    if (!IsControllerActivated()) {
 | 
			
		||||
        return;
 | 
			
		||||
    std::size_t controller{};
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if (style.raw == 0) {
 | 
			
		||||
        // We want to support all controllers
 | 
			
		||||
        style.handheld.Assign(1);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user