summaryrefslogtreecommitdiff
path: root/src/video_core/macro_interpreter.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2018-04-27 07:54:05 -0400
committerGravatar Lioncash2018-04-27 10:04:02 -0400
commit847549663090aeef89debc6213ef17b7f14e0b0e (patch)
tree899731d5c75a7b40a8aa72f5e115f86e10078745 /src/video_core/macro_interpreter.cpp
parentMerge pull request #380 from ogniK5377/service-impl (diff)
downloadyuzu-847549663090aeef89debc6213ef17b7f14e0b0e.tar.gz
yuzu-847549663090aeef89debc6213ef17b7f14e0b0e.tar.xz
yuzu-847549663090aeef89debc6213ef17b7f14e0b0e.zip
general: Convert assertion macros over to be fmt-compatible
Diffstat (limited to 'src/video_core/macro_interpreter.cpp')
-rw-r--r--src/video_core/macro_interpreter.cpp6
1 files changed, 3 insertions, 3 deletions
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<u32>& code, bool is_delay_slot) {
113 break; 113 break;
114 } 114 }
115 default: 115 default:
116 UNIMPLEMENTED_MSG("Unimplemented macro operation %u", 116 UNIMPLEMENTED_MSG("Unimplemented macro operation {}",
117 static_cast<u32>(opcode.operation.Value())); 117 static_cast<u32>(opcode.operation.Value()));
118 } 118 }
119 119
@@ -154,7 +154,7 @@ u32 MacroInterpreter::GetALUResult(ALUOperation operation, u32 src_a, u32 src_b)
154 return ~(src_a & src_b); 154 return ~(src_a & src_b);
155 155
156 default: 156 default:
157 UNIMPLEMENTED_MSG("Unimplemented ALU operation %u", static_cast<u32>(operation)); 157 UNIMPLEMENTED_MSG("Unimplemented ALU operation {}", static_cast<u32>(operation));
158 } 158 }
159} 159}
160 160
@@ -201,7 +201,7 @@ void MacroInterpreter::ProcessResult(ResultOperation operation, u32 reg, u32 res
201 Send((result >> 12) & 0b111111); 201 Send((result >> 12) & 0b111111);
202 break; 202 break;
203 default: 203 default:
204 UNIMPLEMENTED_MSG("Unimplemented result operation %u", static_cast<u32>(operation)); 204 UNIMPLEMENTED_MSG("Unimplemented result operation {}", static_cast<u32>(operation));
205 } 205 }
206} 206}
207 207