mirror of https://github.com/stella-emu/stella.git
removed forgotten debug code
This commit is contained in:
parent
1c8c7c68b5
commit
4400ba42c0
|
@ -80,16 +80,11 @@ void PhysicalKeyboardHandler::setDefaultKey(EventMapping map, Event::Type event,
|
||||||
|
|
||||||
if (updateDefaults)
|
if (updateDefaults)
|
||||||
{
|
{
|
||||||
if (map.event == Event::ToggleSAPortOrder)
|
|
||||||
int i = 0;
|
|
||||||
|
|
||||||
// if there is no existing mapping for the event and
|
// if there is no existing mapping for the event and
|
||||||
// the default mapping for the event is unused, set default key for event
|
// the default mapping for the event is unused, set default key for event
|
||||||
if (myKeyMap.getEventMapping(map.event, mode).size() == 0 &&
|
if (myKeyMap.getEventMapping(map.event, mode).size() == 0 &&
|
||||||
!myKeyMap.check(mode, map.key, map.mod))
|
!myKeyMap.check(mode, map.key, map.mod))
|
||||||
{
|
{
|
||||||
if (map.event == Event::ConsoleReset)
|
|
||||||
int i = 0;
|
|
||||||
addMapping(map.event, mode, map.key, StellaMod(map.mod));
|
addMapping(map.event, mode, map.key, StellaMod(map.mod));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue