From 104b80f111d1308774ae3f0b7cefad2badbcad4a Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Thu, 23 Jul 2020 02:45:18 +1000 Subject: [PATCH] HostInterface: Move 'System shut down' message to SDL Only frontend where it makes sense anyway. --- src/core/host_interface.cpp | 5 +---- src/duckstation-sdl/sdl_host_interface.cpp | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/core/host_interface.cpp b/src/core/host_interface.cpp index 64b854147..f6c290e98 100644 --- a/src/core/host_interface.cpp +++ b/src/core/host_interface.cpp @@ -306,10 +306,7 @@ bool HostInterface::SaveState(const char* filename) void HostInterface::OnSystemCreated() {} -void HostInterface::OnSystemDestroyed() -{ - ReportFormattedMessage("System shut down."); -} +void HostInterface::OnSystemDestroyed() {} void HostInterface::OnSystemPerformanceCountersUpdated() {} diff --git a/src/duckstation-sdl/sdl_host_interface.cpp b/src/duckstation-sdl/sdl_host_interface.cpp index 3adf6c981..05cb6cd47 100644 --- a/src/duckstation-sdl/sdl_host_interface.cpp +++ b/src/duckstation-sdl/sdl_host_interface.cpp @@ -314,6 +314,7 @@ void SDLHostInterface::OnSystemPaused(bool paused) void SDLHostInterface::OnSystemDestroyed() { CommonHostInterface::OnSystemDestroyed(); + ReportFormattedMessage("System shut down."); } void SDLHostInterface::OnRunningGameChanged()