mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-15 13:37:57 -05:00
gl_shader_cache: Link loading screen with disk shader cache load
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user