This commit is contained in:
SamoZ256 2025-08-02 18:05:09 +02:00 committed by GitHub
commit 66d3f14b21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -451,7 +451,7 @@ Result viCloseLayer(ViLayer *layer) {
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)) {
memset(layer, 0, sizeof(*layer));