diff --git a/src/dynarmic/src/dynarmic/ir/opcodes.h b/src/dynarmic/src/dynarmic/ir/opcodes.h index 7e41353213..e22ccce119 100644 --- a/src/dynarmic/src/dynarmic/ir/opcodes.h +++ b/src/dynarmic/src/dynarmic/ir/opcodes.h @@ -654,3 +654,13 @@ constexpr bool MayGetNZCVFromOp(const Opcode op) noexcept { } } // namespace Dynarmic::IR + +template<> +struct fmt::formatter : fmt::formatter +{ + template + auto format(Dynarmic::IR::Opcode op, FormatContext& ctx) const + { + return formatter::format(Dynarmic::IR::GetNameOf(op), ctx); + } +};