diff options
Diffstat (limited to 'tools/pbf-gen.rb')
-rw-r--r-- | tools/pbf-gen.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pbf-gen.rb b/tools/pbf-gen.rb index f4c59c8..c37b51a 100644 --- a/tools/pbf-gen.rb +++ b/tools/pbf-gen.rb @@ -5,7 +5,7 @@ bitmaps = {} File.readlines(ARGV[0]).map do |l| - bitmaps[l[0..3].to_i 16] = (l[5..-2].to_i(16) + 2**80).to_s(2)[1..-1] + bitmaps[l[0..3].to_i 16] = (l[5..-2].to_i(16) + 2**(ARGV[2].to_i() * ARGV[4].to_i())).to_s(2)[1..-1] end data_area_entries = {} |