diff options
| author | 2022-01-30 22:26:01 +0100 | |
|---|---|---|
| committer | 2022-10-06 21:00:52 +0200 | |
| commit | 2931101e6f5aa755566ef40f6e6dc71909fd3e92 (patch) | |
| tree | 76e847786e355e24a136562d42177b895a03315e /src/video_core/host1x/control.h | |
| parent | VideoCore: Refactor syncing. (diff) | |
| download | yuzu-2931101e6f5aa755566ef40f6e6dc71909fd3e92.tar.gz yuzu-2931101e6f5aa755566ef40f6e6dc71909fd3e92.tar.xz yuzu-2931101e6f5aa755566ef40f6e6dc71909fd3e92.zip | |
NVDRV: Refactor Host1x
Diffstat (limited to 'src/video_core/host1x/control.h')
| -rw-r--r-- | src/video_core/host1x/control.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/host1x/control.h b/src/video_core/host1x/control.h index 04dac7d51..18a9b56c0 100644 --- a/src/video_core/host1x/control.h +++ b/src/video_core/host1x/control.h | |||
| @@ -8,10 +8,10 @@ | |||
| 8 | #include "common/common_types.h" | 8 | #include "common/common_types.h" |
| 9 | 9 | ||
| 10 | namespace Tegra { | 10 | namespace Tegra { |
| 11 | class GPU; | ||
| 12 | 11 | ||
| 13 | namespace Host1x { | 12 | namespace Host1x { |
| 14 | 13 | ||
| 14 | class Host1x; | ||
| 15 | class Nvdec; | 15 | class Nvdec; |
| 16 | 16 | ||
| 17 | class Control { | 17 | class Control { |
| @@ -22,7 +22,7 @@ public: | |||
| 22 | WaitSyncpt32 = 0x50, | 22 | WaitSyncpt32 = 0x50, |
| 23 | }; | 23 | }; |
| 24 | 24 | ||
| 25 | explicit Control(GPU& gpu); | 25 | explicit Control(Host1x& host1x); |
| 26 | ~Control(); | 26 | ~Control(); |
| 27 | 27 | ||
| 28 | /// Writes the method into the state, Invoke Execute() if encountered | 28 | /// Writes the method into the state, Invoke Execute() if encountered |
| @@ -33,7 +33,7 @@ private: | |||
| 33 | void Execute(u32 data); | 33 | void Execute(u32 data); |
| 34 | 34 | ||
| 35 | u32 syncpoint_value{}; | 35 | u32 syncpoint_value{}; |
| 36 | GPU& gpu; | 36 | Host1x& host1x; |
| 37 | }; | 37 | }; |
| 38 | 38 | ||
| 39 | } // namespace Host1x | 39 | } // namespace Host1x |