summaryrefslogtreecommitdiff
path: root/src/video_core/rasterizer_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/rasterizer_interface.h')
-rw-r--r--src/video_core/rasterizer_interface.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/video_core/rasterizer_interface.h b/src/video_core/rasterizer_interface.h
index 5b0eca9e2..c586cd6fe 100644
--- a/src/video_core/rasterizer_interface.h
+++ b/src/video_core/rasterizer_interface.h
@@ -9,6 +9,7 @@
9#include "common/common_types.h" 9#include "common/common_types.h"
10#include "video_core/engines/fermi_2d.h" 10#include "video_core/engines/fermi_2d.h"
11#include "video_core/gpu.h" 11#include "video_core/gpu.h"
12#include "video_core/guest_driver.h"
12 13
13namespace Tegra { 14namespace Tegra {
14class MemoryManager; 15class MemoryManager;
@@ -78,5 +79,18 @@ public:
78 /// Initialize disk cached resources for the game being emulated 79 /// Initialize disk cached resources for the game being emulated
79 virtual void LoadDiskResources(const std::atomic_bool& stop_loading = false, 80 virtual void LoadDiskResources(const std::atomic_bool& stop_loading = false,
80 const DiskResourceLoadCallback& callback = {}) {} 81 const DiskResourceLoadCallback& callback = {}) {}
82
83 /// Grant access to the Guest Driver Profile for recording/obtaining info on the guest driver.
84 GuestDriverProfile& AccessGuestDriverProfile() {
85 return guest_driver_profile;
86 }
87
88 /// Grant access to the Guest Driver Profile for recording/obtaining info on the guest driver.
89 const GuestDriverProfile& AccessGuestDriverProfile() const {
90 return guest_driver_profile;
91 }
92
93private:
94 GuestDriverProfile guest_driver_profile{};
81}; 95};
82} // namespace VideoCore 96} // namespace VideoCore