From 88c8320e35a0773b5a583588bf47e598355a7ac9 Mon Sep 17 00:00:00 2001 From: Scramblrrrr Date: Sun, 18 Oct 2026 23:03:05 -0300 Subject: [PATCH] fix(agc): flush the shared logger from native clients --- core/libs/prx/libSceAgcDriver/Execution/include/AsyncLog.hpp | 4 +--- .../prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cpp | 4 ++++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/core/libs/prx/libSceAgcDriver/Execution/include/AsyncLog.hpp b/core/libs/prx/libSceAgcDriver/Execution/include/AsyncLog.hpp index 36b218edf955..1e2b68353bac 100644 --- a/core/libs/prx/libSceAgcDriver/Execution/include/AsyncLog.hpp +++ b/core/libs/prx/libSceAgcDriver/Execution/include/AsyncLog.hpp @@ -390,9 +390,7 @@ inline void InstallAsyncLog_nid_no_patch() { static_cast(AsyncLog::Get()); } -inline void FlushAsyncLog_nid_no_patch() { - AsyncLog::Get().Flush(); -} +void FlushAsyncLog_nid_no_patch(); inline void FlushAsyncLogAtEnd_nid_no_patch() { AsyncLog::FlushAtEnd(); diff --git a/core/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cpp b/core/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cpp index b5928fd583c4..23c3b254d3e4 100644 --- a/core/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cpp +++ b/core/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cpp @@ -277,6 +277,10 @@ bool& Driver::onWorkerThread() { namespace AgcDriver { +void FlushAsyncLog_nid_no_patch() { + AsyncLog::Get().Flush(); +} + std::unique_lock HoldAsyncLog() { return AsyncLog::Get().Hold(); }