mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-10-28 22:49:02 -05:00 
			
		
		
		
	service: hid: npad: Fix implicit fallthrough errors.
This commit is contained in:
		| @@ -107,6 +107,7 @@ void Controller_NPad::InitNewlyAddedControler(std::size_t controller_idx) { | |||||||
|     switch (controller_type) { |     switch (controller_type) { | ||||||
|     case NPadControllerType::None: |     case NPadControllerType::None: | ||||||
|         UNREACHABLE(); |         UNREACHABLE(); | ||||||
|  |         break; | ||||||
|     case NPadControllerType::Handheld: |     case NPadControllerType::Handheld: | ||||||
|         controller.joy_styles.handheld.Assign(1); |         controller.joy_styles.handheld.Assign(1); | ||||||
|         controller.device_type.handheld.Assign(1); |         controller.device_type.handheld.Assign(1); | ||||||
| @@ -363,6 +364,7 @@ void Controller_NPad::OnUpdate(const Core::Timing::CoreTiming& core_timing, u8* | |||||||
|         switch (controller_type) { |         switch (controller_type) { | ||||||
|         case NPadControllerType::None: |         case NPadControllerType::None: | ||||||
|             UNREACHABLE(); |             UNREACHABLE(); | ||||||
|  |             break; | ||||||
|         case NPadControllerType::Handheld: |         case NPadControllerType::Handheld: | ||||||
|             handheld_entry.connection_status.raw = 0; |             handheld_entry.connection_status.raw = 0; | ||||||
|             handheld_entry.connection_status.IsWired.Assign(1); |             handheld_entry.connection_status.IsWired.Assign(1); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 bunnei
					bunnei