mirror of
https://github.com/hedge-dev/UnleashedRecomp
synced 2026-06-09 04:40:26 -04:00
xam: disable keyboard input if left alt is down
This prevents the game from receiving erroneous inputs when trying to do ALT+ENTER.
This commit is contained in:
@@ -185,7 +185,7 @@ void GameWindow::Init(const char* sdlVideoDriver)
|
||||
{
|
||||
// Try matching the current window size with a known configuration.
|
||||
if (def->Value < 0)
|
||||
def->Value = GameWindow::FindNearestDisplayMode();
|
||||
def->Value = FindNearestDisplayMode();
|
||||
};
|
||||
|
||||
Config::WindowSize.ApplyCallback = [](ConfigDef<int32_t>* def)
|
||||
|
||||
Reference in New Issue
Block a user