From 847549663090aeef89debc6213ef17b7f14e0b0e Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 27 Apr 2018 07:54:05 -0400 Subject: general: Convert assertion macros over to be fmt-compatible --- src/video_core/macro_interpreter.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/video_core/macro_interpreter.cpp') diff --git a/src/video_core/macro_interpreter.cpp b/src/video_core/macro_interpreter.cpp index 993a67746..44ece01c1 100644 --- a/src/video_core/macro_interpreter.cpp +++ b/src/video_core/macro_interpreter.cpp @@ -113,7 +113,7 @@ bool MacroInterpreter::Step(const std::vector& code, bool is_delay_slot) { break; } default: - UNIMPLEMENTED_MSG("Unimplemented macro operation %u", + UNIMPLEMENTED_MSG("Unimplemented macro operation {}", static_cast(opcode.operation.Value())); } @@ -154,7 +154,7 @@ u32 MacroInterpreter::GetALUResult(ALUOperation operation, u32 src_a, u32 src_b) return ~(src_a & src_b); default: - UNIMPLEMENTED_MSG("Unimplemented ALU operation %u", static_cast(operation)); + UNIMPLEMENTED_MSG("Unimplemented ALU operation {}", static_cast(operation)); } } @@ -201,7 +201,7 @@ void MacroInterpreter::ProcessResult(ResultOperation operation, u32 reg, u32 res Send((result >> 12) & 0b111111); break; default: - UNIMPLEMENTED_MSG("Unimplemented result operation %u", static_cast(operation)); + UNIMPLEMENTED_MSG("Unimplemented result operation {}", static_cast(operation)); } } -- cgit v1.2.3