Resolve [-Wshadow]

This commit is contained in:
Minty-Meeo authored and get committed 2023-04-06 19:25:26 -05:00
1 parent 0a88c2329a
commit 1312624e05
2 files changed
+3 -5

No files matched your search

+1 -3
View File
@@ -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));
},