diff options
| author | MaranBr <maranbr@outlook.com> | 2025-07-30 21:08:43 +0200 |
|---|---|---|
| committer | crueter <crueter@eden-emu.dev> | 2025-07-30 21:08:43 +0200 |
| commit | 7249bc0d225ffb97aa1d9e70f74398ab59ddcb76 (patch) | |
| tree | b8e163e7deb0b494f1cf94bb8eb84aef161397b1 /src/video_core/host1x/nvdec.cpp | |
| parent | 06f8823882e8c303ce4c100f83637b84f9ea4d69 (diff) | |
[host1x] Remove unused code (#161)
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/161
Co-authored-by: MaranBr <maranbr@outlook.com>
Co-committed-by: MaranBr <maranbr@outlook.com>
Diffstat (limited to 'src/video_core/host1x/nvdec.cpp')
| -rw-r--r-- | src/video_core/host1x/nvdec.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/video_core/host1x/nvdec.cpp b/src/video_core/host1x/nvdec.cpp index 741a7d5c12..1882ccb100 100644 --- a/src/video_core/host1x/nvdec.cpp +++ b/src/video_core/host1x/nvdec.cpp @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later + // SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later @@ -34,10 +37,6 @@ void Nvdec::ProcessMethod(u32 method, u32 argument) { CreateDecoder(static_cast<NvdecCommon::VideoCodec>(argument)); break; case NVDEC_REG_INDEX(execute): { - if (wait_needed) { - std::this_thread::sleep_for(std::chrono::milliseconds(32)); - wait_needed = false; - } Execute(); } break; } |
