diff options
| author | bunnei <bunneidev@gmail.com> | 2022-10-29 16:11:26 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-29 16:11:26 -0700 |
| commit | c4d91488d9e7d1aadfadb6ef8e27fa4f1896a5cb (patch) | |
| tree | 0653781de68f88b7910b78e5c3d893b06e9dc37d /src/core/hle/service/vi/display | |
| parent | 72bff8ba114c645819c1ecb7fbe9c541897cfa6d (diff) | |
| parent | 2cdfbbc07d74548527fbefd738f860ce66f52e34 (diff) | |
Merge pull request #9137 from liamwhite/hbmenu
Improved support for nx-hbmenu
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. |
