Skip to content

Commit

Permalink
better comments
Browse files Browse the repository at this point in the history
  • Loading branch information
francisdb committed Nov 9, 2024
1 parent 63b187a commit 8a5b27b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/vpx/gamedata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -258,11 +258,12 @@ impl<'de> Deserialize<'de> for ToneMapper {
"filmic" => Ok(ToneMapper::Filmic),
"neutral" => Ok(ToneMapper::Neutral),
"agx_punchy" => Ok(ToneMapper::AgXPunchy),
// backwards comptibilty for 10.8.1, tony_mc_mapface was renamed to agx
// backwards compatibility, tony_mc_mapface was renamed to agx
// see https://github.com/vpinball/vpinball/pull/1999
"tony_mc_mapface" => Ok(ToneMapper::AgX),
_ => Err(serde::de::Error::unknown_variant(
value,
&["reinhard", "tony_mc_mapface", "filmic", "neutral", "agx"],
&["reinhard", "agx", "filmic", "neutral", "agx_punchy"],
)),
}
}
Expand Down

0 comments on commit 8a5b27b

Please sign in to comment.