CommonHostInterface: Remove system paused/resumed message

This commit is contained in:
Connor McLaughlin 2021-07-04 15:59:52 +10:00
parent e4b23ffb7e
commit 8be2b66ebb
3 changed files with 1 additions and 14 deletions

View File

@ -1051,11 +1051,6 @@ void CommonHostInterface::OnSystemCreated()
void CommonHostInterface::OnSystemPaused(bool paused)
{
ReportFormattedMessage("System %s.", paused ? "paused" : "resumed");
if (m_fullscreen_ui_enabled)
FullscreenUI::SystemPaused(paused);
if (paused)
{
if (IsFullscreen() && !m_fullscreen_ui_enabled)

View File

@ -233,8 +233,6 @@ bool Initialize(CommonHostInterface* host_interface)
if (System::IsValid())
SystemCreated();
if (System::IsPaused())
SystemPaused(true);
return true;
}
@ -273,11 +271,6 @@ void SystemDestroyed()
ClearImGuiFocus();
}
void SystemPaused(bool paused)
{
//
}
static void PauseForMenuOpen()
{
s_was_paused_on_quick_menu_open = System::IsPaused();
@ -1192,7 +1185,7 @@ static void DrawAchievementsLoginWindow()
ImGui::SetNextWindowPos(ImGui::GetIO().DisplaySize * 0.5f, ImGuiCond_Always, ImVec2(0.5f, 0.5f));
ImGui::PushStyleVar(ImGuiStyleVar_WindowRounding, LayoutScale(10.0f));
ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, LayoutScale(10.0f, 10.0f));
ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, LayoutScale(20.0f, 20.0f));
ImGui::PushFont(g_large_font);
bool is_open = true;

View File

@ -46,7 +46,6 @@ bool HasActiveWindow();
void UpdateSettings();
void SystemCreated();
void SystemDestroyed();
void SystemPaused(bool paused);
void OpenQuickMenu();
void CloseQuickMenu();