Remove patch for play source change.
This commit is contained in:
parent
08686670d8
commit
239276508e
@ -266,13 +266,13 @@ impl FileSystem {
|
|||||||
file.read_exact(&mut buffer).map_err(|_| ())?;
|
file.read_exact(&mut buffer).map_err(|_| ())?;
|
||||||
let data = unpack_u16(&buffer, &mut 0);
|
let data = unpack_u16(&buffer, &mut 0);
|
||||||
|
|
||||||
let mut play = Play {
|
let play = Play {
|
||||||
source:(data & 0xF) as u8,
|
source:(data & 0xF) as u8,
|
||||||
from:((data >> 4) & 0x3F) as u8,
|
from:((data >> 4) & 0x3F) as u8,
|
||||||
to:((data >> 10) & 0x3F) as u8,
|
to:((data >> 10) & 0x3F) as u8,
|
||||||
};
|
};
|
||||||
|
|
||||||
match play.source {
|
/*match play.source {
|
||||||
2 => {
|
2 => {
|
||||||
play.source = 0xF;
|
play.source = 0xF;
|
||||||
file.seek(SeekFrom::Current(-2)).map_err(|_| ())?;
|
file.seek(SeekFrom::Current(-2)).map_err(|_| ())?;
|
||||||
@ -292,7 +292,7 @@ impl FileSystem {
|
|||||||
)).map_err(|_| ())?;
|
)).map_err(|_| ())?;
|
||||||
}
|
}
|
||||||
_ => { }
|
_ => { }
|
||||||
}
|
}*/
|
||||||
|
|
||||||
result.push(play);
|
result.push(play);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user