Skip to content

config.c: Don't delete the storage controllers section too early#4965

Merged
OBattler merged 1 commit into
86Box:masterfrom
lemondrops:misc-fix
Nov 13, 2024
Merged

config.c: Don't delete the storage controllers section too early#4965
OBattler merged 1 commit into
86Box:masterfrom
lemondrops:misc-fix

Conversation

@lemondrops

Copy link
Copy Markdown
Contributor

Summary

Stop trying to delete the [Storage controllers] section (if empty) earlier than needed. Fixes various cassette options not being removed even if set to default, as well as potential crashes caused by accessing the section's no longer valid pointer.

Checklist

  • Closes #xxx
  • I have discussed this with core contributors already
  • This pull request requires changes to the ROM set

References

N/A

@OBattler
OBattler merged commit 62e3daa into 86Box:master Nov 13, 2024
@lemondrops
lemondrops deleted the misc-fix branch November 13, 2024 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants