mirror of
https://github.com/switchbrew/libnx.git
synced 2025-08-07 08:39:24 +02:00
Merge 887327b523
into f6e45096aa
This commit is contained in:
commit
66d3f14b21
@ -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