ams-libs: AMS_ASSERT no longer invokes expression

This commit is contained in:
Michael Scire committed 2021-09-29 21:32:40 -07:00
1 parent 5dc64bc1f7
commit 9b04ff0f54
38 files changed
+82 -23

No files matched your search

@@ -141,6 +141,7 @@ namespace ams::gpio::driver::impl {
auto &pad = this->GetDevice().SafeCastTo<Pad>();
auto &driver = pad.GetDriver().SafeCastTo<IGpioDriver>();
AMS_ASSERT(driver.GetInterruptControlMutex(pad).IsLockedByCurrentThread());
AMS_UNUSED(pad, driver);
if (auto *event = this->event_holder.GetSystemEvent(); event != nullptr) {
os::SignalSystemEvent(event);