mirror of
https://github.com/zeldaret/botw
synced 2026-05-30 17:05:37 -04:00
ksys/res: Implement more Cache functions
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user