diff --git a/src/Cafe/IOSU/nn/boss/boss_service.cpp b/src/Cafe/IOSU/nn/boss/boss_service.cpp index cc508433..48d6be52 100644 --- a/src/Cafe/IOSU/nn/boss/boss_service.cpp +++ b/src/Cafe/IOSU/nn/boss/boss_service.cpp @@ -902,6 +902,8 @@ namespace iosu::boss // handling automatic scheduling and task state transitions is quite complex // for now we only run the task once std::shared_ptr registeredTask = GetRegisteredTask2(persistentId, taskId); + if(!registeredTask) + return; TaskState state = registeredTask->GetState(); if (state == TaskState::Stopped || state == TaskState::Initial) {