summaryrefslogtreecommitdiffstats
path: root/src/video_core/rasterizer_interface.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-01-21 20:38:23 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-02-07 02:23:40 +0100
commiteb7324743372d3b94db9a915a5508d8293d45ecb (patch)
tree085261558efeb2b47ce5316b52314980005b3e5c /src/video_core/rasterizer_interface.h
parentgl_shader_cache: Set GL_PROGRAM_SEPARABLE to dumped shaders (diff)
downloadyuzu-eb7324743372d3b94db9a915a5508d8293d45ecb.tar
yuzu-eb7324743372d3b94db9a915a5508d8293d45ecb.tar.gz
yuzu-eb7324743372d3b94db9a915a5508d8293d45ecb.tar.bz2
yuzu-eb7324743372d3b94db9a915a5508d8293d45ecb.tar.lz
yuzu-eb7324743372d3b94db9a915a5508d8293d45ecb.tar.xz
yuzu-eb7324743372d3b94db9a915a5508d8293d45ecb.tar.zst
yuzu-eb7324743372d3b94db9a915a5508d8293d45ecb.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/rasterizer_interface.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/rasterizer_interface.h b/src/video_core/rasterizer_interface.h
index bb4bc0e36..77da135a0 100644
--- a/src/video_core/rasterizer_interface.h
+++ b/src/video_core/rasterizer_interface.h
@@ -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