mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-09-06 16:49:22 +02:00
Merge pull request #6885 from v1993/patch-1
Fix crash in logging in CreateStrayLayer
This commit is contained in:
commit
562d2aa3d6
@ -1158,7 +1158,7 @@ private:
|
|||||||
|
|
||||||
const auto layer_id = nv_flinger.CreateLayer(display_id);
|
const auto layer_id = nv_flinger.CreateLayer(display_id);
|
||||||
if (!layer_id) {
|
if (!layer_id) {
|
||||||
LOG_ERROR(Service_VI, "Layer not found! layer_id={}", *layer_id);
|
LOG_ERROR(Service_VI, "Layer not found! display_id={}", display_id);
|
||||||
IPC::ResponseBuilder rb{ctx, 2};
|
IPC::ResponseBuilder rb{ctx, 2};
|
||||||
rb.Push(ERR_NOT_FOUND);
|
rb.Push(ERR_NOT_FOUND);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user