diff options
author | Liam <byteslice@airmail.cc> | 2022-10-25 23:42:02 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2022-10-27 14:27:38 +0200 |
commit | cdb9fe978ff29b1de2256f0d0cece550195f3fef (patch) | |
tree | 0ae5fbd5632046b5f711bc9f302b0ede1f2cce88 /src/core/hle/service/vi/display | |
parent | Merge pull request #9125 from liamwhite/dummy-scheduler (diff) | |
download | yuzu-cdb9fe978ff29b1de2256f0d0cece550195f3fef.tar yuzu-cdb9fe978ff29b1de2256f0d0cece550195f3fef.tar.gz yuzu-cdb9fe978ff29b1de2256f0d0cece550195f3fef.tar.bz2 yuzu-cdb9fe978ff29b1de2256f0d0cece550195f3fef.tar.lz yuzu-cdb9fe978ff29b1de2256f0d0cece550195f3fef.tar.xz yuzu-cdb9fe978ff29b1de2256f0d0cece550195f3fef.tar.zst yuzu-cdb9fe978ff29b1de2256f0d0cece550195f3fef.zip |
Diffstat (limited to 'src/core/hle/service/vi/display')
-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. |