mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-30 22:20:18 +01:00
nvnflinger/gpu: implement applet capture
This commit is contained in:
parent
1c32e4157c
commit
ce72818075
19 changed files with 288 additions and 55 deletions
|
|
@ -68,8 +68,12 @@ void SystemBufferManager::SetWindowVisibility(bool visible) {
|
|||
|
||||
Result SystemBufferManager::WriteAppletCaptureBuffer(bool* out_was_written,
|
||||
s32* out_fbshare_layer_index) {
|
||||
// TODO
|
||||
R_SUCCEED();
|
||||
if (!m_buffer_sharing_enabled) {
|
||||
return VI::ResultPermissionDenied;
|
||||
}
|
||||
|
||||
return m_nvnflinger->GetSystemBufferManager().WriteAppletCaptureBuffer(out_was_written,
|
||||
out_fbshare_layer_index);
|
||||
}
|
||||
|
||||
} // namespace Service::AM
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue