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

This commit is contained in:
Michael Scire
2025-11-12 17:32:43 -07:00
committed by SciresM
parent c05d91f44a
commit 0fb9481e59
5 changed files with 5 additions and 9 deletions

View File

@@ -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
}