mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 15:31:26 +12:00
Move some format functions
This commit is contained in:
parent
89f16548f3
commit
b1fdbc7fcc
8 changed files with 151 additions and 155 deletions
|
@ -88,22 +88,6 @@ void fmt_class_string<ppu_join_status>::format(std::string& out, u64 arg)
|
|||
});
|
||||
}
|
||||
|
||||
template <>
|
||||
void fmt_class_string<ppu_decoder_type>::format(std::string& out, u64 arg)
|
||||
{
|
||||
format_enum(out, arg, [](ppu_decoder_type type)
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
case ppu_decoder_type::precise: return "Interpreter (precise)";
|
||||
case ppu_decoder_type::fast: return "Interpreter (fast)";
|
||||
case ppu_decoder_type::llvm: return "Recompiler (LLVM)";
|
||||
}
|
||||
|
||||
return unknown;
|
||||
});
|
||||
}
|
||||
|
||||
constexpr ppu_decoder<ppu_interpreter_precise> g_ppu_interpreter_precise;
|
||||
constexpr ppu_decoder<ppu_interpreter_fast> g_ppu_interpreter_fast;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue