You've already forked pico-launcher
mirror of
https://github.com/LNH-team/pico-launcher.git
synced 2026-01-09 16:28:48 -08:00
Initial commit
This commit is contained in:
11
common/ipc/IpcService.cpp
Normal file
11
common/ipc/IpcService.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#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);
|
||||
}
|
||||
Reference in New Issue
Block a user