mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-02-09 20:31:06 +00:00
19 lines
489 B
C++
19 lines
489 B
C++
/* This file is part of the dynarmic project.
|
|
* Copyright (c) 2016 MerryMage
|
|
* SPDX-License-Identifier: 0BSD
|
|
*/
|
|
|
|
#include <ostream>
|
|
#include <fmt/format.h>
|
|
|
|
#include "frontend/A64/location_descriptor.h"
|
|
|
|
namespace Dynarmic::A64 {
|
|
|
|
std::ostream& operator<<(std::ostream& o, const LocationDescriptor& descriptor) {
|
|
o << fmt::format("{{{}, {}{}}}", descriptor.PC(), descriptor.FPCR().Value(), descriptor.SingleStepping() ? ", step" : "");
|
|
return o;
|
|
}
|
|
|
|
} // namespace Dynarmic::A64
|