Files
botw/src/KingSystem/System/AutoDim.h
T
2021-06-25 20:29:11 -07:00

20 lines
333 B
C++

#include <heap/seadDisposer.h>
#include <thread/seadCriticalSection.h>
namespace ksys {
class AutoDim {
SEAD_SINGLETON_DISPOSER(AutoDim)
AutoDim() = default;
public:
void setEnabled(bool enable);
bool isEnabled() const;
private:
bool mEnabled = true;
sead::CriticalSection mCS{};
};
} // namespace ksys