mirror of
https://github.com/gbdev/rgbds.git
synced 2026-05-08 10:59:36 +00:00
Fix rgbasm -s not overriding a previous -s
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
DEF s EQUS "hello"
|
||||
DEF n EQU 42
|
||||
@@ -0,0 +1 @@
|
||||
warning: Overriding state file "-"
|
||||
@@ -0,0 +1 @@
|
||||
-s equs:- -s equ:-
|
||||
@@ -0,0 +1,4 @@
|
||||
; File generated by rgbasm
|
||||
|
||||
; Numeric constants
|
||||
def n equ $2a
|
||||
Reference in New Issue
Block a user