mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-27 21:24:11 -04:00
htc: implement htclow listener thread
This commit is contained in:
parent
c9c41e0e8d
commit
2341f18edd
21 changed files with 669 additions and 11 deletions
|
@ -20,6 +20,17 @@ namespace ams::htclow {
|
|||
|
||||
class Packet : public util::IntrusiveListBaseNode<Packet> {
|
||||
/* TODO */
|
||||
public:
|
||||
virtual ~Packet();
|
||||
};
|
||||
|
||||
struct PacketDeleter {
|
||||
mem::StandardAllocator *m_allocator;
|
||||
|
||||
void operator()(Packet *packet) {
|
||||
std::destroy_at(packet);
|
||||
m_allocator->Free(packet);
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue