mirror of https://github.com/stella-emu/stella.git
fixed broken joystick mapping loading
This commit is contained in:
parent
9cc85454cc
commit
edab05dc47
|
@ -50,7 +50,7 @@ class PhysicalJoystickHandler
|
|||
struct StickInfo
|
||||
{
|
||||
StickInfo(const nlohmann::json& map = nullptr, PhysicalJoystickPtr stick = nullptr)
|
||||
: mapping{map}, joy{std::move(stick)} { }
|
||||
: mapping(map), joy{std::move(stick)} { }
|
||||
|
||||
nlohmann::json mapping;
|
||||
PhysicalJoystickPtr joy;
|
||||
|
|
Loading…
Reference in New Issue