mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp
synced 2026-05-28 00:16:24 -04:00
Fix the actor extension API breaking when registering an extension for actor type 0 first
This commit is contained in:
@@ -79,7 +79,7 @@ extern "C" void recomp_register_actor_extension(uint8_t* rdram, recomp_context*
|
||||
}
|
||||
|
||||
if (actor_data_sizes.size() <= actor_type) {
|
||||
actor_data_sizes.resize(2 * actor_type);
|
||||
actor_data_sizes.resize(actor_type + 1);
|
||||
}
|
||||
|
||||
// Increase the actor type's extension data size by the provided size (rounded up to a multiple of 16).
|
||||
|
||||
Reference in New Issue
Block a user