mirror of
https://github.com/switchbrew/libnx.git
synced 2025-08-06 08:19:22 +02:00
vi: swap close layer commands
This commit is contained in:
parent
06d904b47e
commit
887327b523
@ -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