SDL-1.2: atari:events: fix missing initialization

From ab4150efebf04c59957d9d607b8b356df40d6083 Mon Sep 17 00:00:00 2001
From: Miro Kropacek <[EMAIL REDACTED]>
Date: Sun, 7 Jul 2024 02:05:57 +0200
Subject: [PATCH] atari:events: fix missing initialization

Introduced by commit 30e74f74.
---
 src/video/ataricommon/SDL_atarievents.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/video/ataricommon/SDL_atarievents.c b/src/video/ataricommon/SDL_atarievents.c
index 56ec8547..11c7bf2e 100644
--- a/src/video/ataricommon/SDL_atarievents.c
+++ b/src/video/ataricommon/SDL_atarievents.c
@@ -62,6 +62,8 @@ void SDL_Atari_InitializeEvents(_THIS)
 {
 	const char *envr;
 
+	SDL_Atari_InitInternalKeymap(this);
+
 	if (!SDL_AtariXbios_IsKeyboardVectorSupported()) {
 		/* Fall back to hardware (TOS 1.x) */
 		this->InitOSKeymap=AtariIkbd_InitOSKeymap;
@@ -90,8 +92,6 @@ void SDL_Atari_InitializeEvents(_THIS)
 		this->PumpEvents=AtariXbios_PumpEvents;
 		XBIOS_ShutdownEvents=AtariXbios_ShutdownEvents;
 	}
-
-	SDL_Atari_InitInternalKeymap(this);
 }
 
 void SDL_Atari_InitializeConsoleSettings(void)