Skip to content

Commit

Permalink
libpinmame: fix PinmameSetMech bug due to cleanup work
Browse files Browse the repository at this point in the history
  • Loading branch information
jsm174 committed Jan 6, 2024
1 parent 79f36df commit 893da42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libpinmame/libpinmame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1161,7 +1161,7 @@ PINMAMEAPI PINMAME_STATUS PinmameSetMech(const int mechNo, const PinmameMechConf
mech_tInitData mechInitData;
memset(&mechInitData, 0, sizeof(mech_tInitData));

if (!p_mechConfig) {
if (p_mechConfig) {
mechInitData.type = p_mechConfig->type;

mechInitData.sol1 = p_mechConfig->sol1;
Expand Down

0 comments on commit 893da42

Please sign in to comment.