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 f4a1e12 commit f3d7197
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 f3d7197

Please sign in to comment.