diff --git a/src/dynarmic/backend/A64/a32_interface.cpp b/src/dynarmic/backend/A64/a32_interface.cpp index bffc96f9..bfa511ec 100644 --- a/src/dynarmic/backend/A64/a32_interface.cpp +++ b/src/dynarmic/backend/A64/a32_interface.cpp @@ -313,14 +313,14 @@ void Jit::LoadContext(const Context& ctx) { impl->jit_state.TransferJitState(ctx.impl->jit_state, reset_rsb); } -std::string Jit::Disassemble() const { - std::string result; +std::vector Jit::Disassemble() const { + std::vector result; #ifdef DYNARMIC_USE_LLVM for (const u32* pos = reinterpret_cast(impl->block_of_code.GetCodeBegin()); reinterpret_cast(pos) < reinterpret_cast(impl->block_of_code.GetCodePtr()); pos += 1) { fmt::print("0x{:02x} 0x{:02x} ", reinterpret_cast(pos), *pos); fmt::print("{}", Common::DisassembleAArch64(*pos, reinterpret_cast(pos))); - result += Common::DisassembleAArch64(*pos, reinterpret_cast(pos)); + result.push_back(Common::DisassembleAArch64(*pos, reinterpret_cast(pos))); } #endif return result;