mirror of
https://github.com/switchbrew/libnx.git
synced 2025-12-08 13:15:15 +01:00
vi: swap close layer commands
This commit is contained in:
parent
5bb38fbd25
commit
fd9f3d78df
@ -451,7 +451,7 @@ Result viCloseLayer(ViLayer *layer) {
|
|||||||
return MAKERESULT(Module_Libnx, LibnxError_NotInitialized);
|
return MAKERESULT(Module_Libnx, LibnxError_NotInitialized);
|
||||||
}
|
}
|
||||||
|
|
||||||
Result rc = serviceDispatchIn(&g_viIApplicationDisplayService, layer->stray_layer ? 2021 : 2031, layer->layer_id);
|
Result rc = serviceDispatchIn(&g_viIApplicationDisplayService, layer->stray_layer ? 2031 : 2021, layer->layer_id);
|
||||||
|
|
||||||
if (R_SUCCEEDED(rc)) {
|
if (R_SUCCEEDED(rc)) {
|
||||||
memset(layer, 0, sizeof(*layer));
|
memset(layer, 0, sizeof(*layer));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user