mirror of
https://github.com/zeldaret/oot.git
synced 2025-06-08 17:41:56 +00:00
[assets system] Fix fusing resource buffer markers (#2548)
This commit is contained in:
parent
a399f90f9a
commit
91e9553ee5
1 changed files with 2 additions and 2 deletions
|
@ -436,8 +436,8 @@ class File:
|
||||||
resource_buffer_markers[i_start:i_end] = [
|
resource_buffer_markers[i_start:i_end] = [
|
||||||
ResourceBufferMarker(
|
ResourceBufferMarker(
|
||||||
fused[0].name.removesuffix("_fused_") + "_fused_", # TODO
|
fused[0].name.removesuffix("_fused_") + "_fused_", # TODO
|
||||||
fused[0].file_start,
|
min(map(lambda _f: _f.file_start, fused)),
|
||||||
fused[-1].file_end,
|
max(map(lambda _f: _f.file_end, fused)),
|
||||||
users,
|
users,
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Reference in a new issue