summaryrefslogtreecommitdiff
path: root/Source/Core/UICommon
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2025-04-26 10:33:01 +0200
committerJordan Woyak <jordan.woyak@gmail.com>2026-01-19 21:56:09 -0600
commit0ba32f7add97daf1c5ea52cf77b75e81d862676f (patch)
tree88a4225db26349f7b326a0b597725cc2f6ab4299 /Source/Core/UICommon
parent2a771937cf0a4a45cd466d3eea089a083f73f3c0 (diff)
Android: Detect when native code should flush unsaved data
Diffstat (limited to 'Source/Core/UICommon')
-rw-r--r--Source/Core/UICommon/UICommon.cpp5
-rw-r--r--Source/Core/UICommon/UICommon.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/Source/Core/UICommon/UICommon.cpp b/Source/Core/UICommon/UICommon.cpp
index 60077bfcd5..8fe882b9ad 100644
--- a/Source/Core/UICommon/UICommon.cpp
+++ b/Source/Core/UICommon/UICommon.cpp
@@ -162,6 +162,11 @@ void Shutdown()
Config::Shutdown();
}
+void FlushUnsavedData()
+{
+ INFO_LOG_FMT(CORE, "Flushing unsaved data...");
+}
+
void InitControllers(const WindowSystemInfo& wsi)
{
if (g_controller_interface.IsInit())
diff --git a/Source/Core/UICommon/UICommon.h b/Source/Core/UICommon/UICommon.h
index f23a0005c7..e586283816 100644
--- a/Source/Core/UICommon/UICommon.h
+++ b/Source/Core/UICommon/UICommon.h
@@ -14,6 +14,8 @@ namespace UICommon
void Init();
void Shutdown();
+void FlushUnsavedData();
+
void InitControllers(const WindowSystemInfo& wsi);
void ShutdownControllers();