mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-04 05:51:19 +12:00
Minor tweaks and code clean up (#357)
This commit is contained in:
parent
b07e9efba4
commit
2b9edced81
8 changed files with 105 additions and 130 deletions
|
@ -97,17 +97,14 @@ void gui_updateWindowTitles(bool isIdle, bool isLoading, double fps)
|
|||
const uint64 titleId = CafeSystem::GetForegroundTitleId();
|
||||
windowText.append(fmt::format(" - FPS: {:.2f} {} {} [TitleId: {:08x}-{:08x}]", (double)fps, renderer, graphicMode, (uint32)(titleId >> 32), (uint32)(titleId & 0xFFFFFFFF)));
|
||||
|
||||
if (ActiveSettings::IsOnlineEnabled()){
|
||||
windowText.append(" [Online]");
|
||||
if (ActiveSettings::GetNetworkService() == NetworkService::Nintendo) {
|
||||
windowText.append("[Nintendo]");
|
||||
}
|
||||
else if (ActiveSettings::GetNetworkService() == NetworkService::Pretendo) {
|
||||
windowText.append("[Pretendo]");
|
||||
}
|
||||
else if (ActiveSettings::GetNetworkService() == NetworkService::Custom) {
|
||||
windowText.append("[" + GetNetworkConfig().networkname.GetValue() + "]");
|
||||
}
|
||||
if (ActiveSettings::IsOnlineEnabled())
|
||||
{
|
||||
if (ActiveSettings::GetNetworkService() == NetworkService::Nintendo)
|
||||
windowText.append(" [Online]");
|
||||
else if (ActiveSettings::GetNetworkService() == NetworkService::Pretendo)
|
||||
windowText.append(" [Online-Pretendo]");
|
||||
else if (ActiveSettings::GetNetworkService() == NetworkService::Custom)
|
||||
windowText.append(" [Online-" + GetNetworkConfig().networkname.GetValue() + "]");
|
||||
}
|
||||
windowText.append(" ");
|
||||
windowText.append(CafeSystem::GetForegroundTitleName());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue