mirror of https://github.com/stella-emu/stella.git
Silence warning from clang.
This commit is contained in:
parent
d3662ee9c8
commit
a2a3844d3d
|
@ -256,7 +256,7 @@ bool PhysicalKeyboardHandler::addMapping(Event::Type event, EventMode mode,
|
|||
StellaKey key)
|
||||
{
|
||||
// These keys cannot be remapped
|
||||
if(key == KBDK_TAB && mode == EventMode::kMenuMode || Event::isAnalog(event))
|
||||
if((key == KBDK_TAB && mode == EventMode::kMenuMode) || Event::isAnalog(event))
|
||||
return false;
|
||||
else
|
||||
myKeyTable[key][mode] = event;
|
||||
|
|
Loading…
Reference in New Issue