htcs: fixes, echo server is now fully functional

This commit is contained in:
Michael Scire
2021-02-21 14:31:28 -08:00
committed by SciresM
parent 72de4d85f3
commit 0ec54ed492
8 changed files with 33 additions and 19 deletions

View File

@@ -70,11 +70,11 @@ namespace ams::sf::cmif {
/* Boolean operators. */
explicit constexpr operator bool() const {
return this->dispatch_meta != nullptr;
return this->srv != nullptr;
}
constexpr bool operator!() const {
return this->dispatch_meta == nullptr;
return this->srv == nullptr;
}
/* Getters. */