mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 01:29:42 -06:00
Cleanup warnings of -Wunused-lambda-capture
Remove unused lambda captures.
This commit is contained in:
@ -196,7 +196,7 @@ void RegisterMMIO(MMIO::Mapping* mmio, u32 base)
|
||||
}
|
||||
|
||||
mmio->Register(base | FIFO_BP_LO, MMIO::DirectRead<u16>(MMIO::Utils::LowPart(&fifo.CPBreakpoint)),
|
||||
MMIO::ComplexWrite<u16>([WMASK_LO_ALIGN_32BIT](u32, u16 val) {
|
||||
MMIO::ComplexWrite<u16>([](u32, u16 val) {
|
||||
WriteLow(fifo.CPBreakpoint, val & WMASK_LO_ALIGN_32BIT);
|
||||
}));
|
||||
mmio->Register(base | FIFO_BP_HI,
|
||||
|
@ -523,7 +523,7 @@ void TextureCacheBase::DoSaveState(PointerWrap& p)
|
||||
// Storing them would duplicate data in the save state file, adding to decompression time.
|
||||
return entry->IsCopy();
|
||||
};
|
||||
auto AddCacheEntryToMap = [&entry_map, &entries_to_save, &p](TCacheEntry* entry) -> u32 {
|
||||
auto AddCacheEntryToMap = [&entry_map, &entries_to_save](TCacheEntry* entry) -> u32 {
|
||||
auto iter = entry_map.find(entry);
|
||||
if (iter != entry_map.end())
|
||||
return iter->second;
|
||||
|
Reference in New Issue
Block a user