tma: Add working AtmosphereTestService (echoes As)

This commit is contained in:
Michael Scire committed 2018-12-05 08:33:56 -08:00
1 parent d875d84d2d
commit 24be9ffc57
13 files changed
+200 -45

No files matched your search

+7 -2
View File
@@ -19,14 +19,19 @@
#include "tma_task.hpp"
#include "tma_service_manager.hpp"
void TmaTask::SetNeedsPackets(bool n) {
this->needs_packets = n;
this->manager->Tick();
}
void TmaTask::Complete() {
/* TODO: Set packet state */
SetNeedsPackets(false);
this->state = TmaTaskState::Complete;
this->manager->Tick();
}
void TmaTask::Cancel() {
/* TODO: Set packet state */
SetNeedsPackets(false);
this->state = TmaTaskState::Canceled;
this->manager->Tick();
}