mirror of
https://github.com/holub/mame
synced 2025-06-06 21:03:47 +03:00
(nw) hopefully work around deprecation warning - removing something in 3.9 when the replacement was only added in 3.2 is typical of Python's disregard for stability
This commit is contained in:
parent
c3da4c5b4b
commit
19aec7e9c3
@ -112,7 +112,8 @@ def generate():
|
||||
7*4, # start of key index
|
||||
7*4+len(keys)*8, # start of value index
|
||||
0, 0) # size and offset of hash table
|
||||
output += array.array("i", offsets).tostring()
|
||||
offsdata = array.array("i", offsets)
|
||||
output += offsdata.tobytes() if hasattr(offsdata, "tobytes") else offsdata.tostring()
|
||||
output += ids
|
||||
output += strs
|
||||
return output
|
||||
|
Loading…
Reference in New Issue
Block a user