Resolve [-Wshadow]
This commit is contained in:
parent
0a88c2329a
commit
1312624e05
|
@ -268,9 +268,7 @@ void FifoRecorder::StartRecording(s32 numFrames, CallbackFunc finishedCb)
|
|||
RecordInitialVideoMemory();
|
||||
}
|
||||
|
||||
auto& system = Core::System::GetInstance();
|
||||
auto& command_processor = system.GetCommandProcessor();
|
||||
const auto& fifo = command_processor.GetFifo();
|
||||
const auto& fifo = Core::System::GetInstance().GetCommandProcessor().GetFifo();
|
||||
EndFrame(fifo.CPBase.load(std::memory_order_relaxed),
|
||||
fifo.CPEnd.load(std::memory_order_relaxed));
|
||||
},
|
||||
|
|
|
@ -656,8 +656,8 @@ void TextureCacheBase::DoSaveState(PointerWrap& p)
|
|||
}
|
||||
|
||||
auto doList = [&p](auto list) {
|
||||
u32 size = static_cast<u32>(list.size());
|
||||
p.Do(size);
|
||||
u32 list_size = static_cast<u32>(list.size());
|
||||
p.Do(list_size);
|
||||
for (const auto& it : list)
|
||||
{
|
||||
p.Do(it.first);
|
||||
|
|
Loading…
Reference in New Issue