mirror of
https://github.com/LNH-team/pico-launcher.git
synced 2025-12-05 13:16:06 +01:00
12 lines
273 B
C++
12 lines
273 B
C++
#include "common.h"
|
|
#include <libtwl/ipc/ipcFifoSystem.h>
|
|
#include "IpcService.h"
|
|
|
|
void IpcService::Start()
|
|
{
|
|
ipc_setChannelHandler(_ipcChannel, [] (u32 channel, u32 data, void* arg)
|
|
{
|
|
static_cast<IpcService*>(arg)->OnMessageReceived(data);
|
|
}, this);
|
|
}
|