mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-02 11:03:34 -06:00
vk pipeline cache: finalize preload state before early return on profile mismatch
This commit is contained in:
parent
6a8c50c3a2
commit
c2769fda21
@ -316,6 +316,9 @@ void PipelineCache::WarmUp() {
|
||||
if (std::memcmp(profile_data.data(), &profile, sizeof(profile)) != 0) {
|
||||
LOG_WARNING(Render,
|
||||
"Pipeline cache isn't compatible with current system. Ignoring the cache");
|
||||
// Keep DB lifecycle consistent before early return: in archived mode, Save() later in the
|
||||
// session may still be called and expects writable archive state.
|
||||
Storage::DataBase::Instance().FinishPreload();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user