mirror of https://github.com/stella-emu/stella.git
fixed curly bracket initialization for json map (yields arrays!)
This commit is contained in:
parent
dff9606216
commit
496848d3a3
|
@ -50,7 +50,7 @@ class PhysicalJoystickHandler
|
|||
struct StickInfo
|
||||
{
|
||||
explicit StickInfo(nlohmann::json map, PhysicalJoystickPtr stick = nullptr)
|
||||
: mapping{std::move(map)}, joy{std::move(stick)} {}
|
||||
: mapping(map), joy{std::move(stick)} {}
|
||||
|
||||
nlohmann::json mapping;
|
||||
PhysicalJoystickPtr joy;
|
||||
|
|
Loading…
Reference in New Issue