service: vi: Implement CloseLayer.

- Needed for Undertale.
This commit is contained in:
bunnei
2020-01-04 00:45:06 -05:00
parent 624a0f7f3f
commit 64c5631579
5 changed files with 48 additions and 11 deletions

View File

@ -54,6 +54,9 @@ public:
/// If an invalid display ID is specified, then an empty optional is returned.
std::optional<u64> CreateLayer(u64 display_id);
/// Closes a layer on all displays for the given layer ID.
void CloseLayer(u64 layer_id);
/// Finds the buffer queue ID of the specified layer in the specified display.
///
/// If an invalid display ID or layer ID is provided, then an empty optional is returned.