diff options
author | Mai M <mathew1800@gmail.com> | 2021-06-23 08:35:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-23 08:35:42 +0200 |
commit | 20f474b09ab503607fab651342bcee433d117c80 (patch) | |
tree | e9f506ad8d9a5366065dd83797813a504cbaba3e /src/video_core/rasterizer_interface.h | |
parent | Merge pull request #6514 from OZtistic/master (diff) | |
parent | bootmanager: Use std::stop_source for stopping emulation (diff) | |
download | yuzu-20f474b09ab503607fab651342bcee433d117c80.tar yuzu-20f474b09ab503607fab651342bcee433d117c80.tar.gz yuzu-20f474b09ab503607fab651342bcee433d117c80.tar.bz2 yuzu-20f474b09ab503607fab651342bcee433d117c80.tar.lz yuzu-20f474b09ab503607fab651342bcee433d117c80.tar.xz yuzu-20f474b09ab503607fab651342bcee433d117c80.tar.zst yuzu-20f474b09ab503607fab651342bcee433d117c80.zip |
Diffstat (limited to 'src/video_core/rasterizer_interface.h')
-rw-r--r-- | src/video_core/rasterizer_interface.h | 4 |
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. |