Merge pull request #154 from mailwl/vi_create_stray_array

vi::CreateStrayLayer : add padding to request
This commit is contained in:
bunnei 2018-02-02 09:01:21 -08:00 committed by GitHub
commit 5ad9b3e19d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -683,6 +683,7 @@ void IApplicationDisplayService::CreateStrayLayer(Kernel::HLERequestContext& ctx
IPC::RequestParser rp{ctx}; IPC::RequestParser rp{ctx};
u32 flags = rp.Pop<u32>(); u32 flags = rp.Pop<u32>();
rp.Pop<u32>(); // padding
u64 display_id = rp.Pop<u64>(); u64 display_id = rp.Pop<u64>();
auto& buffer = ctx.BufferDescriptorB()[0]; auto& buffer = ctx.BufferDescriptorB()[0];