summaryrefslogtreecommitdiffstats
path: root/src/video_core/rasterizer_interface.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-06-22 05:04:55 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2021-06-22 05:04:57 +0200
commit4009ae1da2360f20721c93cd204eb64c7342eb53 (patch)
tree6bdd3084265212a096832f1e723c0c502f958f32 /src/video_core/rasterizer_interface.h
parentMerge pull request #6499 from FernandoS27/we-were-on-a-break (diff)
downloadyuzu-4009ae1da2360f20721c93cd204eb64c7342eb53.tar
yuzu-4009ae1da2360f20721c93cd204eb64c7342eb53.tar.gz
yuzu-4009ae1da2360f20721c93cd204eb64c7342eb53.tar.bz2
yuzu-4009ae1da2360f20721c93cd204eb64c7342eb53.tar.lz
yuzu-4009ae1da2360f20721c93cd204eb64c7342eb53.tar.xz
yuzu-4009ae1da2360f20721c93cd204eb64c7342eb53.tar.zst
yuzu-4009ae1da2360f20721c93cd204eb64c7342eb53.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/rasterizer_interface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/rasterizer_interface.h b/src/video_core/rasterizer_interface.h
index f968b5b16..07939432f 100644
--- a/src/video_core/rasterizer_interface.h
+++ b/src/video_core/rasterizer_interface.h
@@ -4,10 +4,10 @@
#pragma once
-#include <atomic>
#include <functional>
#include <optional>
#include <span>
+#include <stop_token>
#include "common/common_types.h"
#include "video_core/engines/fermi_2d.h"
#include "video_core/gpu.h"
@@ -123,7 +123,7 @@ public:
virtual void UpdatePagesCachedCount(VAddr addr, u64 size, int delta) {}
/// Initialize disk cached resources for the game being emulated
- virtual void LoadDiskResources(u64 title_id, const std::atomic_bool& stop_loading,
+ virtual void LoadDiskResources(u64 title_id, std::stop_token stop_loading,
const DiskResourceLoadCallback& callback) {}
/// Grant access to the Guest Driver Profile for recording/obtaining info on the guest driver.