Android: Detect when native code should flush unsaved data

This commit is contained in:
JosJuice
2026-01-19 21:56:09 -06:00
committed by Jordan Woyak
parent 2a771937cf
commit 0ba32f7add
4 changed files with 27 additions and 0 deletions
+5
View File
@@ -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())
+2
View File
@@ -14,6 +14,8 @@ namespace UICommon
void Init();
void Shutdown();
void FlushUnsavedData();
void InitControllers(const WindowSystemInfo& wsi);
void ShutdownControllers();