diff options
author | bunnei <bunneidev@gmail.com> | 2022-10-30 01:11:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-30 01:11:26 +0200 |
commit | c4d91488d9e7d1aadfadb6ef8e27fa4f1896a5cb (patch) | |
tree | 0653781de68f88b7910b78e5c3d893b06e9dc37d /src/core/hle/service/vi/display | |
parent | Merge pull request #9140 from vonchenplus/darw_index_bufferx_first_error (diff) | |
parent | nvnflinger: release queued handles immediately on disconnection (diff) | |
download | yuzu-c4d91488d9e7d1aadfadb6ef8e27fa4f1896a5cb.tar yuzu-c4d91488d9e7d1aadfadb6ef8e27fa4f1896a5cb.tar.gz yuzu-c4d91488d9e7d1aadfadb6ef8e27fa4f1896a5cb.tar.bz2 yuzu-c4d91488d9e7d1aadfadb6ef8e27fa4f1896a5cb.tar.lz yuzu-c4d91488d9e7d1aadfadb6ef8e27fa4f1896a5cb.tar.xz yuzu-c4d91488d9e7d1aadfadb6ef8e27fa4f1896a5cb.tar.zst yuzu-c4d91488d9e7d1aadfadb6ef8e27fa4f1896a5cb.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/vi/display/vi_display.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/hle/service/vi/display/vi_display.h b/src/core/hle/service/vi/display/vi_display.h index 33d5f398c..0b65a65da 100644 --- a/src/core/hle/service/vi/display/vi_display.h +++ b/src/core/hle/service/vi/display/vi_display.h @@ -106,6 +106,12 @@ public: /// void CloseLayer(u64 layer_id); + /// Resets the display for a new connection. + void Reset() { + layers.clear(); + got_vsync_event = false; + } + /// Attempts to find a layer with the given ID. /// /// @param layer_id The layer ID. |