Fix rgbasm -s not overriding a previous -s

This commit is contained in:
Rangi
2026-03-30 20:07:53 -04:00
parent 44b6a2c453
commit 18b074711e
5 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -289,7 +289,7 @@ static void parseArg(int ch, char *arg) {
if (localOptions.stateFileSpecs.find(name) != localOptions.stateFileSpecs.end()) {
warnx("Overriding state file \"%s\"", name);
}
localOptions.stateFileSpecs.emplace(name, std::move(features));
localOptions.stateFileSpecs[name] = std::move(features);
break;
}