Discworld 2 BMV support
[nihav.git] / nihav-game / src / demuxers / mod.rs
index 8f9b384a03254fff4b2498bb63060e50c498e4b0..f361ea36a2e206a79962225061db66c9818fb3a9 100644 (file)
@@ -5,10 +5,14 @@ macro_rules! validate {
     ($a:expr) => { if !$a { println!("check failed at {}:{}", file!(), line!()); return Err(DemuxerError::InvalidData); } };
 }
 
+#[cfg(feature="demuxer_bmv")]
+mod bmv;
 #[cfg(feature="demuxer_gdv")]
 mod gdv;
 
 const GAME_DEMUXERS: &[&'static DemuxerCreator] = &[
+#[cfg(feature="demuxer_bmv")]
+    &bmv::BMVDemuxerCreator {},
 #[cfg(feature="demuxer_gdv")]
     &gdv::GDVDemuxerCreator {},
 ];