Alt N to create new D64 image

This commit is contained in:
penfold42 2018-07-20 14:24:54 +10:00
parent ad15313511
commit b041e61c26
2 changed files with 3 additions and 3 deletions

View File

@ -170,7 +170,7 @@ bool InputMappings::CheckKeyboardBrowseMode()
// SetKeyboardFlag(PAGEUP_LCD_FLAG);
//else if (keyboard->KeyHeld(KEY_END))
// SetKeyboardFlag(PAGEDOWN_LCD_FLAG);
else if (keyboard->KeyHeld(KEY_N))
else if (keyboard->KeyHeld(KEY_N) && keyboard->KeyEitherAlt() )
SetKeyboardFlag(NEWD64_FLAG);
else
{

View File

@ -344,9 +344,9 @@ public:
{
return (keyStatus[0] | keyStatus[1]);
}
inline bool KeyLeftAlt()
inline bool KeyEitherAlt()
{
return (modifier & 1<<2);
return (modifier & (KEY_MOD_LALT | KEY_MOD_RALT) );
}
};
#endif