aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2024-07-31 18:32:37 +0200
committerKostya Shishkov <kostya.shishkov@gmail.com>2024-07-31 18:36:05 +0200
commit3c0e662a0f2402137f4236d4b870a084013990c3 (patch)
tree8307fe69ba4ceef2c6ead298191465caf23731e0
parent0e5eee2dd8ec2e09f730a74576093bd11fd4fe74 (diff)
downloadnihav-3c0e662a0f2402137f4236d4b870a084013990c3.tar.gz
sga: fix option name
-rw-r--r--nihav-game/src/demuxers/sga.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/nihav-game/src/demuxers/sga.rs b/nihav-game/src/demuxers/sga.rs
index b5d7f7b..de37b72 100644
--- a/nihav-game/src/demuxers/sga.rs
+++ b/nihav-game/src/demuxers/sga.rs
@@ -341,7 +341,7 @@ impl<'a> NAOptionHandler for SGADemuxer<'a> {
for option in options.iter() {
for opt_def in DEMUXER_OPTS.iter() {
if opt_def.check(option).is_ok() {
- if let ("name", NAValue::Bool(ref bval)) = (option.name, &option.value) {
+ if let ("ntsc", NAValue::Bool(ref bval)) = (option.name, &option.value) {
self.ntsc = *bval;
}
}