Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix weirdness in a specific rom loading scenario (fixes #2024)
Without this commit, choosing "Cancel" from a tool form's "Save changes?" dialog (i.e. AskSaveChanges) while trying to load a rom from `File` > `Recent ROM` would treat that recent rom as though it were missing. With this commit, an OSD message is displayed instead. This isn't the best fix. The return value from LoadRomInternal isn't even used anywhere apart from LoadRomFromRecent, which is the only place the new out param is used.
- Loading branch information