mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-05 10:52:15 +02:00
Update bpc.c
This commit is contained in:
parent
eb9486b16f
commit
7768d22a6c
@ -12,6 +12,7 @@ static u64 g_refCnt;
|
||||
Result bpcInitialize(void)
|
||||
{
|
||||
Result rc = 0;
|
||||
|
||||
atomicIncrement64(&g_refCnt);
|
||||
|
||||
if (serviceIsActive(&g_bpcSrv))
|
||||
@ -40,6 +41,7 @@ Result bpcShutdownSystem(void)
|
||||
} *raw;
|
||||
|
||||
raw = ipcPrepareHeader(&c, sizeof(*raw));
|
||||
|
||||
raw->magic = SFCI_MAGIC;
|
||||
raw->cmd_id = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user