mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-29 15:17:20 -05:00
fix: refuse a default value typed out as a flag
The refusal tables compared each flag with its default value, so --source full and --group-by system passed beside the modes that refuse every other value. Both now default to None and take their effective value after the checks, in generate_pack and pipeline.
This commit is contained in:
1 parent
3d2a521f8a
commit
a3e625cd6a
4 files changed
+36
-12
No files matched your search
@@ -6016,6 +6016,18 @@ struct BurnDriver BurnDrvneogeo = {
|
||||
"refuse"),
|
||||
(["--platform", "retroarch", "--all-variants"], ["--required-only"],
|
||||
"refuse"),
|
||||
# The default value typed out is still the flag: compared with its
|
||||
# default, `--source full` and `--group-by system` went through.
|
||||
(["--platform", "retroarch", "--all-variants"], ["--source", "full"],
|
||||
"refuse"),
|
||||
(["--manifest-targets"], ["--source", "full"], "refuse"),
|
||||
(["--emulator", "handy"], ["--source", "full"], "refuse"),
|
||||
(["--platform", "retroarch", "--from-md5", "d8f1"],
|
||||
["--source", "full"], "refuse"),
|
||||
(["--platform", "retroarch", "--offline"], ["--group-by", "system"],
|
||||
"refuse"),
|
||||
(["--platform", "retroarch", "--verify-packs"], ["--group-by", "system"],
|
||||
"refuse"),
|
||||
(["--emulator", "duckstation"], ["--all-variants"], "refuse"),
|
||||
(["--system", "sony-playstation"], ["--all-variants"], "refuse"),
|
||||
(["--emulator", "duckstation", "--verify-packs"], ["--all-variants"],
|
||||
|
||||
Reference in new issue
Block a user