diff options
| author | Liam <byteslice@airmail.cc> | 2024-01-06 23:58:04 -0500 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2024-01-07 21:47:41 -0500 |
| commit | ea710e652398f0646aeb1a1cdf78cee9691440e8 (patch) | |
| tree | c2f6495907b42ade4416c51c2781734d4a3e4313 /src/core/hle/service/nvnflinger | |
| parent | ae88ea79b24b658cf3f176370f209393d64f83bd (diff) | |
vi: connect vsync event handle lifetime to application display service interface
Diffstat (limited to 'src/core/hle/service/nvnflinger')
| -rw-r--r-- | src/core/hle/service/nvnflinger/nvnflinger.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/nvnflinger/nvnflinger.cpp b/src/core/hle/service/nvnflinger/nvnflinger.cpp index aa8aaa2d9..0469110e8 100644 --- a/src/core/hle/service/nvnflinger/nvnflinger.cpp +++ b/src/core/hle/service/nvnflinger/nvnflinger.cpp @@ -223,7 +223,8 @@ Result Nvnflinger::FindVsyncEvent(Kernel::KReadableEvent** out_vsync_event, u64 return VI::ResultNotFound; } - return display->GetVSyncEvent(out_vsync_event); + *out_vsync_event = display->GetVSyncEvent(); + return ResultSuccess; } VI::Display* Nvnflinger::FindDisplay(u64 display_id) { |
