ksys/res: Implement more Cache functions

This commit is contained in:
Léo Lam
2020-09-27 16:11:56 +02:00
parent f8db98617c
commit 12e6979b6c
11 changed files with 285 additions and 38 deletions
@@ -6,4 +6,12 @@ namespace ksys::res {
[[maybe_unused]] static util::InitTimeInfo sInitTimeInfo;
sead::CriticalSection gCacheCriticalSection;
void lockCacheCriticalSection() {
gCacheCriticalSection.lock();
}
void unlockCacheCriticalSection() {
gCacheCriticalSection.unlock();
}
} // namespace ksys::res