mirror of
https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
synced 2025-12-16 23:12:40 +00:00
svc: Make ResetType an enum class
This commit is contained in:
@@ -35,7 +35,7 @@ void Event::Acquire() {
|
||||
ASSERT_MSG(!ShouldWait(), "object unavailable!");
|
||||
|
||||
// Release the event if it's not sticky...
|
||||
if (reset_type != RESETTYPE_STICKY)
|
||||
if (reset_type != ResetType::Sticky)
|
||||
signaled = false;
|
||||
}
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ bool Timer::ShouldWait() {
|
||||
void Timer::Acquire() {
|
||||
ASSERT_MSG( !ShouldWait(), "object unavailable!");
|
||||
|
||||
if (reset_type == RESETTYPE_ONESHOT)
|
||||
if (reset_type == ResetType::OneShot)
|
||||
signaled = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user