1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-06-08 01:21:52 +00:00

[assets system] Fix fusing resource buffer markers (#2548)

This commit is contained in:
Dragorn421 2025-05-27 17:41:51 +02:00 committed by GitHub
parent a399f90f9a
commit 91e9553ee5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,
) )
] ]