mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-23 06:15:38 +00:00
DigitalController: MSVC warning fix
This commit is contained in:
parent
a391ba1622
commit
420525e672
|
@ -200,7 +200,7 @@ void DigitalController::LoadSettings(const char* section)
|
|||
u8 DigitalController::GetButtonsLSBMask() const
|
||||
{
|
||||
constexpr u8 popn_controller_mask =
|
||||
~(u8(1) << static_cast<u8>(Button::Right) | u8(1) << static_cast<u8>(Button::Down) |
|
||||
u8(1) << static_cast<u8>(Button::Left));
|
||||
static_cast<u8>(~(u8(1) << static_cast<u8>(Button::Right) | u8(1) << static_cast<u8>(Button::Down) |
|
||||
u8(1) << static_cast<u8>(Button::Left)));
|
||||
return m_popn_controller_mode ? popn_controller_mask : 0xFF;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue