Browse Source
Merge pull request #6885 from v1993/patch-1
Fix crash in logging in CreateStrayLayer
pull/15/merge
Mai M
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/core/hle/service/vi/vi.cpp
|
|
|
@ -1158,7 +1158,7 @@ private: |
|
|
|
|
|
|
|
const auto layer_id = nv_flinger.CreateLayer(display_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}; |
|
|
|
rb.Push(ERR_NOT_FOUND); |
|
|
|
return; |
|
|
|
|