mirror of
https://github.com/zeldaret/st
synced 2026-08-22 23:01:46 -04:00
Decompile overlay 1 (Part 7) (#106)
* run ninja format * delink what's left from overlay 1 (except dsprotect) * fix regressions * UnkStruct_027e0ce0_1C_001 97% * UnkStruct_0204a110_001 OK * UnkStruct_ov024_020d86a0_001 OK * UnkStruct_ov000_020b50c0_001 OK * GameModeCreate OK * AdventureModeManager_001 OK * GameModeAdventure_001 OK * AdventureModeManager_001 OKn't because weak issues * ZeldaCollisionBinary OK * UnkStruct_027e09c0_001 OK * UnkStruct_ov000_020b504c_001 OK * UnkStruct_ov000_02067bc4.hpp -> UnkStruct_ov000_020b504c.hpp * match overlay 97 * match overlay 100 * run ninja format
This commit is contained in:
@@ -28,9 +28,9 @@ public:
|
||||
}
|
||||
|
||||
// allocate the list and run the constructors for each element
|
||||
void Init(size_t arrayLength) {
|
||||
void Init(size_t arrayLength, size_t factor = 4) {
|
||||
this->Destroy();
|
||||
this->Set(arrayLength * 4);
|
||||
this->Set(arrayLength * factor);
|
||||
|
||||
if (this->begin != this->end) {
|
||||
T *it = (T *) this->begin;
|
||||
|
||||
Reference in New Issue
Block a user