mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-19 00:38:14 +01:00
Add base.utility.cpu_arch_is_32_bit()
This commit is contained in:
1 parent
39e2044102
commit
4993f88a66
5 files changed
+43
-23
No files matched your search
@@ -258,7 +258,11 @@ pri func decoder.decode_blocks?(dst: base.io_writer, src: base.io_reader) {
|
||||
|
||||
this.end_of_block = false
|
||||
while true {
|
||||
status = this.decode_huffman_fast64!(dst: args.dst, src: args.src)
|
||||
if this.util.cpu_arch_is_32_bit() {
|
||||
status = this.decode_huffman_fast64!(dst: args.dst, src: args.src)
|
||||
} else {
|
||||
status = this.decode_huffman_fast64!(dst: args.dst, src: args.src)
|
||||
}
|
||||
if status.is_error() {
|
||||
return status
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user