mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-27 08:05:41 +00:00
CommonHostInterface: Remove system paused/resumed message
This commit is contained in:
parent
e4b23ffb7e
commit
8be2b66ebb
|
@ -1051,11 +1051,6 @@ void CommonHostInterface::OnSystemCreated()
|
||||||
|
|
||||||
void CommonHostInterface::OnSystemPaused(bool paused)
|
void CommonHostInterface::OnSystemPaused(bool paused)
|
||||||
{
|
{
|
||||||
ReportFormattedMessage("System %s.", paused ? "paused" : "resumed");
|
|
||||||
|
|
||||||
if (m_fullscreen_ui_enabled)
|
|
||||||
FullscreenUI::SystemPaused(paused);
|
|
||||||
|
|
||||||
if (paused)
|
if (paused)
|
||||||
{
|
{
|
||||||
if (IsFullscreen() && !m_fullscreen_ui_enabled)
|
if (IsFullscreen() && !m_fullscreen_ui_enabled)
|
||||||
|
|
|
@ -233,8 +233,6 @@ bool Initialize(CommonHostInterface* host_interface)
|
||||||
|
|
||||||
if (System::IsValid())
|
if (System::IsValid())
|
||||||
SystemCreated();
|
SystemCreated();
|
||||||
if (System::IsPaused())
|
|
||||||
SystemPaused(true);
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -273,11 +271,6 @@ void SystemDestroyed()
|
||||||
ClearImGuiFocus();
|
ClearImGuiFocus();
|
||||||
}
|
}
|
||||||
|
|
||||||
void SystemPaused(bool paused)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
}
|
|
||||||
|
|
||||||
static void PauseForMenuOpen()
|
static void PauseForMenuOpen()
|
||||||
{
|
{
|
||||||
s_was_paused_on_quick_menu_open = System::IsPaused();
|
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::SetNextWindowPos(ImGui::GetIO().DisplaySize * 0.5f, ImGuiCond_Always, ImVec2(0.5f, 0.5f));
|
||||||
|
|
||||||
ImGui::PushStyleVar(ImGuiStyleVar_WindowRounding, LayoutScale(10.0f));
|
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);
|
ImGui::PushFont(g_large_font);
|
||||||
|
|
||||||
bool is_open = true;
|
bool is_open = true;
|
||||||
|
|
|
@ -46,7 +46,6 @@ bool HasActiveWindow();
|
||||||
void UpdateSettings();
|
void UpdateSettings();
|
||||||
void SystemCreated();
|
void SystemCreated();
|
||||||
void SystemDestroyed();
|
void SystemDestroyed();
|
||||||
void SystemPaused(bool paused);
|
|
||||||
void OpenQuickMenu();
|
void OpenQuickMenu();
|
||||||
void CloseQuickMenu();
|
void CloseQuickMenu();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue