kern: fix debug build for [[nodiscard]] changes

This commit is contained in:
Michael Scire authored and SciresM committed 2025-11-15 12:31:07 -07:00
1 parent c05d91f44a
commit 0fb9481e59
5 files changed
+5 -9

No files matched your search

@@ -709,7 +709,7 @@ namespace ams::kern::board::nintendo::nx {
/* Install interrupt handler. */
#if defined(MESOSPHERE_ENABLE_MEMORY_CONTROLLER_INTERRUPT)
{
Kernel::GetInterruptManager().BindHandler(std::addressof(g_mc_interrupt_task), KInterruptName_MemoryController, GetCurrentCoreId(), KInterruptController::PriorityLevel_High, true, true);
MESOSPHERE_R_ABORT_UNLESS(Kernel::GetInterruptManager().BindHandler(std::addressof(g_mc_interrupt_task), KInterruptName_MemoryController, GetCurrentCoreId(), KInterruptController::PriorityLevel_High, true, true));
}
#endif
}