mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-07-09 17:25:37 -06:00
video_core: Close shader cache if ignored (#4571)
This commit is contained in:
parent
942834db32
commit
cc5d35dc08
@ -133,6 +133,7 @@ void DataBase::Close() {
|
||||
mz_zip_writer_end(&zip_ar);
|
||||
}
|
||||
|
||||
opened = false;
|
||||
LOG_INFO(Render, "Cache dumped");
|
||||
}
|
||||
|
||||
|
||||
@ -316,6 +316,7 @@ 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");
|
||||
Storage::DataBase::Instance().Close();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user