Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clear BIOS option setting when reloading empty pseudo-driver to preve…
…nt spurious ROM loading errors for this and other drivers
- Loading branch information
aee2e13
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't a solution. It produces the wrong behaviour when you use
-bios
on the command line and them use "select new machine". For example using-bios japan
and switching between Neo Geo games. MAME needs a way to "peel off" a layer of options so to speak. It needs to be independent of priority levels.aee2e13
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In that case, the empty pseudo-driver is never selected, so it doesn't go through this path (and instead malfunctions when any system not using BIOSes is selected).
Note that the empty pseudo-driver has a null ROM definition, so retaining any BIOS option for it will cause the ROM loader to generate an error message (even if the UI doesn't show it).