mirror of https://github.com/stella-emu/stella.git
Fixed logic error in detecting 'Alt' key.
DirtyHairy, it looks like you removed a negation and replaced it with a positive (ie, you removed an _ifndef_, not an _ifdef_) :)
This commit is contained in:
parent
a101df0269
commit
8cf8200908
|
@ -168,9 +168,9 @@ class EventHandler
|
||||||
inline bool kbdAlt(int mod) const
|
inline bool kbdAlt(int mod) const
|
||||||
{
|
{
|
||||||
#if defined(BSPF_MAC_OSX) || defined(OSX_KEYS)
|
#if defined(BSPF_MAC_OSX) || defined(OSX_KEYS)
|
||||||
return (mod & KBDM_ALT);
|
|
||||||
#else
|
|
||||||
return (mod & KBDM_GUI);
|
return (mod & KBDM_GUI);
|
||||||
|
#else
|
||||||
|
return (mod & KBDM_ALT);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue