mirror of
https://github.com/RPCSX/xed.git
synced 2024-11-23 11:39:40 +00:00
generator: division defaults to fp. use // for integer div
Change-Id: I7fd6a2ad0c099086d77ecdf0a98f7050a923659e (cherry picked from commit eb68da22fc92558ce481d842fe2580ac6736b585)
This commit is contained in:
parent
0d5fd4a040
commit
dd5d596267
@ -3924,7 +3924,7 @@ def partition_attributes(agi, attr):
|
||||
#msgb("PARTITIONING ATTRIBUTES", '[%s]' % (",".join(attr)))
|
||||
for a in attr:
|
||||
i = lookup_attr(agi,a)
|
||||
b = i / 64
|
||||
b = i // 64
|
||||
try:
|
||||
d[b].append(a)
|
||||
except:
|
||||
|
Loading…
Reference in New Issue
Block a user