diff options
Diffstat (limited to 'src/dynarmic/tests/decoder_tests.cpp')
| -rw-r--r-- | src/dynarmic/tests/decoder_tests.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dynarmic/tests/decoder_tests.cpp b/src/dynarmic/tests/decoder_tests.cpp index 4ad9d90833..1b406fd915 100644 --- a/src/dynarmic/tests/decoder_tests.cpp +++ b/src/dynarmic/tests/decoder_tests.cpp @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project +// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project // SPDX-License-Identifier: GPL-3.0-or-later /* This file is part of the dynarmic project. @@ -36,9 +36,9 @@ TEST_CASE("ASIMD Decoder: Ensure table order correctness", "[decode][a32][.]") { const auto is_decode_error = [&get_ir](const A32::ASIMDMatcher<A32::TranslatorVisitor>& matcher, u32 instruction) { const auto block = get_ir(matcher, instruction); - return std::find_if(block.cbegin(), block.cend(), [](auto const& e) { + return std::find_if(block.instructions.cbegin(), block.instructions.cend(), [](auto const& e) { return e.GetOpcode() == IR::Opcode::A32ExceptionRaised && A32::Exception(e.GetArg(1).GetU64()) == A32::Exception::DecodeError; - }) != block.cend(); + }) != block.instructions.cend(); }; for (auto iter = table.cbegin(); iter != table.cend(); ++iter) { |
