From b214a7612afc04cd945f29d185a692aa2d9a4fe8 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Wed, 23 Mar 2022 03:20:38 -0500 Subject: [PATCH] [nostalgia/core/glfw] Fix key down initial state --- src/nostalgia/core/glfw/core.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nostalgia/core/glfw/core.hpp b/src/nostalgia/core/glfw/core.hpp index 6e66793a..6a238aaa 100644 --- a/src/nostalgia/core/glfw/core.hpp +++ b/src/nostalgia/core/glfw/core.hpp @@ -14,7 +14,7 @@ struct GlfwImplData { UpdateHandler eventHandler = nullptr; KeyEventHandler keyEventHandler = nullptr; uint64_t wakeupTime = 0; - uint64_t keysDown; + uint64_t keysDown = 0; }; }