X-Git-Url: https://git.nihav.org/?a=blobdiff_plain;f=nihav-game%2Fsrc%2Fdemuxers%2Fvx.rs;h=17228419e7b85de9359bc0a1b27977dc5e14efb8;hb=886cde4847280b96e10d240c2f2d76abec121dc8;hp=5d2786db2804b247c7e358dc06893b605a46a962;hpb=a480a0de101483d802a11e72d758dae00fa4860a;p=nihav.git diff --git a/nihav-game/src/demuxers/vx.rs b/nihav-game/src/demuxers/vx.rs index 5d2786d..1722841 100644 --- a/nihav-game/src/demuxers/vx.rs +++ b/nihav-game/src/demuxers/vx.rs @@ -19,6 +19,7 @@ struct VXDemuxer<'a> { impl<'a> DemuxCore<'a> for VXDemuxer<'a> { #[allow(unused_variables)] + #[allow(clippy::cast_lossless)] fn open(&mut self, strmgr: &mut StreamManager, _seek_index: &mut SeekIndex) -> DemuxerResult<()> { let src = &mut self.src; @@ -141,6 +142,7 @@ mod test { #[test] fn test_vx_demux() { + // sample from some game let mut file = File::open("assets/Game/bioware.vx").unwrap(); //let mut file = File::open("assets/Game/BS_01_Intro.vx").unwrap(); //let mut file = File::open("assets/Game/sega.vx").unwrap();