early-access version 1984

This commit is contained in:
pineappleEA
2021-08-10 03:07:42 +02:00
parent c8db4e5c9e
commit bdd9b5d7c2
11 changed files with 57 additions and 33 deletions

View File

@@ -23,6 +23,7 @@
#include "common/common_types.h"
#include "common/literals.h"
#include "common/logging/log.h"
#include "common/settings.h"
#include "video_core/compatible_formats.h"
#include "video_core/delayed_destruction_ring.h"
#include "video_core/dirty_flags.h"
@@ -509,7 +510,7 @@ void TextureCache<P>::RunGarbageCollector() {
template <class P>
void TextureCache<P>::TickFrame() {
if (total_used_memory > minimum_memory) {
if (Settings::values.use_caches_gc.GetValue() && total_used_memory > minimum_memory) {
RunGarbageCollector();
}
sentenced_images.Tick();