diff options
| author | Léo Lam <leo@leolam.fr> | 2021-03-14 17:41:55 +0100 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2021-03-15 01:44:27 +0100 |
| commit | eef975f585f4cca8bbba89fc097d91dc620565ff (patch) | |
| tree | c27d486c1626dd857c5c4a327b33d5fea1e65f16 /src/KingSystem/ActorSystem/actBaseProcJobQue.h | |
| parent | 20960b596fdc288ac4f4672bddba06c245987fb1 (diff) | |
ksys/act: Add more BaseProcMgr functions
Diffstat (limited to 'src/KingSystem/ActorSystem/actBaseProcJobQue.h')
| -rw-r--r-- | src/KingSystem/ActorSystem/actBaseProcJobQue.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/KingSystem/ActorSystem/actBaseProcJobQue.h b/src/KingSystem/ActorSystem/actBaseProcJobQue.h index 9a5dc27a..6d2aaf54 100644 --- a/src/KingSystem/ActorSystem/actBaseProcJobQue.h +++ b/src/KingSystem/ActorSystem/actBaseProcJobQue.h @@ -31,6 +31,8 @@ public: bool pushExtraJobs(sead::FixedSizeJQ* queue, const agl::utl::AtomicPtrArray<BaseProcJobLink>& links); + void clear() { mNumExtraJobs = 0; } + private: bool pushJobs(sead::FixedSizeJQ* queue, BaseProcJobLists* lists, int priority, bool should_reset_job_idx, JobType type); |
