diff options
| author | mckinlee <mckinlee@ymail.com> | 2025-10-15 12:36:41 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-15 12:36:41 -0400 |
| commit | 4569ead1ac673165b378fb65ba2cc17ccd46bd37 (patch) | |
| tree | d73312ab355540465dca7df3ee9435e99cb747c4 | |
| parent | 3f7dd04d540941c04e0294ad551199af26f16310 (diff) | |
Add manual ROM selection for multiple ROMs found in Extractor (#1203)
| -rw-r--r-- | mm/2s2h/Extractor/Extract.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mm/2s2h/Extractor/Extract.cpp b/mm/2s2h/Extractor/Extract.cpp index 2f0800797..63579228d 100644 --- a/mm/2s2h/Extractor/Extract.cpp +++ b/mm/2s2h/Extractor/Extract.cpp @@ -441,6 +441,17 @@ bool Extractor::Run(std::string searchPath, RomSearchMode searchMode) { } } + if (roms.size() > 1) { + int ret = ShowYesNoBox("Multiple ROMs Found", "Multiple ROM files were detected. Select one manually?"); + if (ret == IDYES) { + if (!ManuallySearchForRomMatchingType(searchMode)) { + return false; + } + roms.clear(); + roms.push_back(mCurrentRomPath); + } + } + for (const auto& rom : roms) { SetRomInfo(rom); |
