Rename set_ignore_checksum! as a quirk

This commit is contained in:
Nigel Tao committed 2021-01-21 22:52:11 +11:00
1 parent 0de64ee8b7
commit 78da50820e
5 files changed
+1 -98

No files matched your search

-4
View File
@@ -59,10 +59,6 @@ pub func decoder.add_dictionary!(dict: slice base.u8) {
this.got_dictionary = true
}
pub func decoder.set_ignore_checksum!(ic: base.bool) {
this.ignore_checksum = args.ic
}
pub func decoder.set_quirk_enabled!(quirk: base.u32, enabled: base.bool) {
if args.quirk == base.QUIRK_IGNORE_CHECKSUM {
this.ignore_checksum = args.enabled