diff options
Diffstat (limited to 'src/emu/input.h')
-rw-r--r-- | src/emu/input.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/emu/input.h b/src/emu/input.h index 24b6dd062d2..0bd414090ad 100644 --- a/src/emu/input.h +++ b/src/emu/input.h @@ -429,7 +429,11 @@ class input_seq { public: // construction/destruction - template <typename... T> constexpr input_seq(input_code code_0 = end_code, T... code_n) noexcept + constexpr input_seq() noexcept + { + reset(); + } + template <typename... T> constexpr input_seq(input_code code_0, T... code_n) noexcept { set(code_0, code_n...); } |