mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-04 18:42:15 +02:00
Use ns:am for NeedsUpdateVulnerability on <3.0.0
Signed-off-by: Adubbz <Adubbz@users.noreply.github.com>
This commit is contained in:
parent
fa4f907d20
commit
ed48407d18
@ -148,7 +148,12 @@ Result nsvmNeedsUpdateVulnerability(u8 *out) {
|
|||||||
raw->magic = SFCI_MAGIC;
|
raw->magic = SFCI_MAGIC;
|
||||||
raw->cmd_id = 1200;
|
raw->cmd_id = 1200;
|
||||||
|
|
||||||
Result rc = serviceIpcDispatch(&g_nsvmSrv);
|
Result rc;
|
||||||
|
|
||||||
|
if (kernelAbove300())
|
||||||
|
rc = serviceIpcDispatch(&g_nsvmSrv);
|
||||||
|
else
|
||||||
|
rc = serviceIpcDispatch(&g_nsAppManSrv);
|
||||||
|
|
||||||
if (R_SUCCEEDED(rc)) {
|
if (R_SUCCEEDED(rc)) {
|
||||||
IpcParsedCommand r;
|
IpcParsedCommand r;
|
||||||
|
Loading…
Reference in New Issue
Block a user