Skip to content

Commit

Permalink
bugfix: Fixed crash when saving config files (fixes #1345)
Browse files Browse the repository at this point in the history
  • Loading branch information
midwan committed Jun 6, 2024
1 parent fb268b3 commit 7a42a4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cfgfile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2243,7 +2243,7 @@ void cfgfile_save_options (struct zfile *f, struct uae_prefs *p, int type)
#ifdef AMIBERRY
std::string mode;
std::string buffer;
didata* did = &di_joystick[jp->id];
didata* did = &di_joystick[jp->id - JSEM_JOYS];

// custom options SAVING
for (int m = 0; m < 2; ++m)
Expand Down

0 comments on commit 7a42a4e

Please sign in to comment.