diff options
author | Lioncash <mathew1800@gmail.com> | 2019-05-14 19:41:34 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-05-14 19:41:41 +0200 |
commit | 9b6d993e520db29697263ef86b0498f98d15a8f2 (patch) | |
tree | ec41e6273e3113301a3af16e8332ecd844de412f /src/video_core/engines | |
parent | video_core/engines/engine_upload: Remove unnecessary const on parameters in function declarations (diff) | |
download | yuzu-9b6d993e520db29697263ef86b0498f98d15a8f2.tar yuzu-9b6d993e520db29697263ef86b0498f98d15a8f2.tar.gz yuzu-9b6d993e520db29697263ef86b0498f98d15a8f2.tar.bz2 yuzu-9b6d993e520db29697263ef86b0498f98d15a8f2.tar.lz yuzu-9b6d993e520db29697263ef86b0498f98d15a8f2.tar.xz yuzu-9b6d993e520db29697263ef86b0498f98d15a8f2.tar.zst yuzu-9b6d993e520db29697263ef86b0498f98d15a8f2.zip |
Diffstat (limited to 'src/video_core/engines')
-rw-r--r-- | src/video_core/engines/engine_upload.cpp | 2 | ||||
-rw-r--r-- | src/video_core/engines/engine_upload.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/engines/engine_upload.cpp b/src/video_core/engines/engine_upload.cpp index 42faf0a40..1aaec1964 100644 --- a/src/video_core/engines/engine_upload.cpp +++ b/src/video_core/engines/engine_upload.cpp @@ -14,6 +14,8 @@ namespace Tegra::Engines::Upload { State::State(MemoryManager& memory_manager, Registers& regs) : memory_manager(memory_manager), regs(regs) {} +State::~State() = default; + void State::ProcessExec(const bool is_linear) { write_offset = 0; copy_size = regs.line_length_in * regs.line_count; diff --git a/src/video_core/engines/engine_upload.h b/src/video_core/engines/engine_upload.h index 56809ec58..ef4f5839a 100644 --- a/src/video_core/engines/engine_upload.h +++ b/src/video_core/engines/engine_upload.h @@ -55,7 +55,7 @@ struct Registers { class State { public: State(MemoryManager& memory_manager, Registers& regs); - ~State() = default; + ~State(); void ProcessExec(bool is_linear); void ProcessData(u32 data, bool is_last_call); |