gl_shader_cache: Link loading screen with disk shader cache load

This commit is contained in:
ReinUsesLisp 2019-01-21 16:38:23 -03:00
parent df0f31f44e
commit eb73247433
10 changed files with 62 additions and 12 deletions

View file

@ -4,6 +4,7 @@
#pragma once
#include <atomic>
#include <functional>
#include "common/common_types.h"
#include "video_core/engines/fermi_2d.h"
@ -63,6 +64,7 @@ public:
virtual void UpdatePagesCachedCount(Tegra::GPUVAddr addr, u64 size, int delta) {}
/// Initialize disk cached resources for the game being emulated
virtual void LoadDiskResources() {}
virtual void LoadDiskResources(const std::atomic_bool& stop_loading = false,
const DiskResourceLoadCallback& callback = {}) {}
};
} // namespace VideoCore