mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 14:37:08 +00:00
overlays: Performance Overlay
This commit is contained in:
parent
c2e17d04e1
commit
c8d8a81ccd
7 changed files with 330 additions and 21 deletions
|
|
@ -198,6 +198,23 @@ void fmt_class_string<audio_renderer>::format(std::string& out, u64 arg)
|
|||
});
|
||||
}
|
||||
|
||||
template <>
|
||||
inline void fmt_class_string<detail_level>::format(std::string& out, u64 arg)
|
||||
{
|
||||
format_enum(out, arg, [](detail_level value)
|
||||
{
|
||||
switch (value)
|
||||
{
|
||||
case detail_level::minimal: return "Minimal";
|
||||
case detail_level::low: return "Low";
|
||||
case detail_level::medium: return "Medium";
|
||||
case detail_level::high: return "High";
|
||||
}
|
||||
|
||||
return unknown;
|
||||
});
|
||||
}
|
||||
|
||||
void Emulator::Init()
|
||||
{
|
||||
if (!g_tty)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue