mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
Move some format functions
This commit is contained in:
parent
89f16548f3
commit
b1fdbc7fcc
8 changed files with 151 additions and 155 deletions
|
|
@ -11,25 +11,6 @@
|
|||
#include <thread>
|
||||
#include <atomic>
|
||||
|
||||
template <>
|
||||
void fmt_class_string<frame_limit_type>::format(std::string& out, u64 arg)
|
||||
{
|
||||
format_enum(out, arg, [](frame_limit_type value)
|
||||
{
|
||||
switch (value)
|
||||
{
|
||||
case frame_limit_type::none: return "Off";
|
||||
case frame_limit_type::_59_94: return "59.94";
|
||||
case frame_limit_type::_50: return "50";
|
||||
case frame_limit_type::_60: return "60";
|
||||
case frame_limit_type::_30: return "30";
|
||||
case frame_limit_type::_auto: return "Auto";
|
||||
}
|
||||
|
||||
return unknown;
|
||||
});
|
||||
}
|
||||
|
||||
namespace rsx
|
||||
{
|
||||
rsx_state method_registers;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue