use fake memory
fix integer offset bug (which only didn’t cause errors as fixnums are still an order too big and the famous +1 error hit the empty space)
This commit is contained in:
@ -19,6 +19,9 @@ module Parfait
|
||||
def self.get_length_index
|
||||
2 # 2 is the amount of attributes, type and char_length. the offset after which chars start
|
||||
end
|
||||
def self.type_length
|
||||
2 # 0 type , 1 char_length
|
||||
end
|
||||
def self.get_indexed( i )
|
||||
i + get_length_index * 4
|
||||
end
|
||||
|
Reference in New Issue
Block a user