mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-03 03:39:59 +00:00
Merge pull request #3777 from lioncash/warn
page_table: Remove unused captures
This commit is contained in:
commit
f24c67877b
1 changed files with 2 additions and 2 deletions
|
@ -854,7 +854,7 @@ ResultCode PageTable::LockForDeviceAddressSpace(VAddr addr, std::size_t size) {
|
|||
}
|
||||
|
||||
block_manager->UpdateLock(addr, size / PageSize,
|
||||
[perm](MemoryBlockManager::iterator block, MemoryPermission perm) {
|
||||
[](MemoryBlockManager::iterator block, MemoryPermission perm) {
|
||||
block->ShareToDevice(perm);
|
||||
},
|
||||
perm);
|
||||
|
@ -876,7 +876,7 @@ ResultCode PageTable::UnlockForDeviceAddressSpace(VAddr addr, std::size_t size)
|
|||
}
|
||||
|
||||
block_manager->UpdateLock(addr, size / PageSize,
|
||||
[perm](MemoryBlockManager::iterator block, MemoryPermission perm) {
|
||||
[](MemoryBlockManager::iterator block, MemoryPermission perm) {
|
||||
block->UnshareToDevice(perm);
|
||||
},
|
||||
perm);
|
||||
|
|
Loading…
Reference in a new issue