Update bpc.c

This commit is contained in:
XorTroll 2018-08-18 12:51:13 +02:00 committed by GitHub
parent eb9486b16f
commit 7768d22a6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;