diff options
| author | Lioncash <mathew1800@gmail.com> | 2020-12-04 14:39:12 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2020-12-04 16:19:09 -0500 |
| commit | 677a8b208d47d0d2397197ce74c7039a8ea79d20 (patch) | |
| tree | 51f6cc58b69b42c7af300c6c56abd0af37e0c748 /src/video_core/engines/maxwell_dma.cpp | |
| parent | fad38ec6e849a25846f4fd28b61dcfebd6d8af6c (diff) | |
video_core: Resolve more variable shadowing scenarios
Resolves variable shadowing scenarios up to the end of the OpenGL code
to make it nicer to review. The rest will be resolved in a following
commit.
Diffstat (limited to 'src/video_core/engines/maxwell_dma.cpp')
| -rw-r--r-- | src/video_core/engines/maxwell_dma.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/video_core/engines/maxwell_dma.cpp b/src/video_core/engines/maxwell_dma.cpp index 8fa359d0a..1c29e895e 100644 --- a/src/video_core/engines/maxwell_dma.cpp +++ b/src/video_core/engines/maxwell_dma.cpp @@ -16,8 +16,10 @@ namespace Tegra::Engines { using namespace Texture; -MaxwellDMA::MaxwellDMA(Core::System& system, MemoryManager& memory_manager) - : system{system}, memory_manager{memory_manager} {} +MaxwellDMA::MaxwellDMA(Core::System& system_, MemoryManager& memory_manager_) + : system{system_}, memory_manager{memory_manager_} {} + +MaxwellDMA::~MaxwellDMA() = default; void MaxwellDMA::CallMethod(u32 method, u32 method_argument, bool is_last_call) { ASSERT_MSG(method < NUM_REGS, "Invalid MaxwellDMA register"); |
