diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2024-01-09 18:15:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-09 18:15:56 +0100 |
commit | 23c11e50f968558710c29154bd0d2c18cbe5ae92 (patch) | |
tree | 0ede4d6486061af3bcc2f6636c486420d27a9e4f /src/core/hle/service/nvnflinger/nvnflinger.cpp | |
parent | Merge pull request #12622 from liamwhite/format (diff) | |
parent | vi: connect vsync event handle lifetime to application display service interface (diff) | |
download | yuzu-23c11e50f968558710c29154bd0d2c18cbe5ae92.tar yuzu-23c11e50f968558710c29154bd0d2c18cbe5ae92.tar.gz yuzu-23c11e50f968558710c29154bd0d2c18cbe5ae92.tar.bz2 yuzu-23c11e50f968558710c29154bd0d2c18cbe5ae92.tar.lz yuzu-23c11e50f968558710c29154bd0d2c18cbe5ae92.tar.xz yuzu-23c11e50f968558710c29154bd0d2c18cbe5ae92.tar.zst yuzu-23c11e50f968558710c29154bd0d2c18cbe5ae92.zip |
Diffstat (limited to 'src/core/hle/service/nvnflinger/nvnflinger.cpp')
-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) { |