diff options
Diffstat (limited to 'src/video_core/host1x/host1x.cpp')
| -rw-r--r-- | src/video_core/host1x/host1x.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/video_core/host1x/host1x.cpp b/src/video_core/host1x/host1x.cpp new file mode 100644 index 000000000..eb00f4855 --- /dev/null +++ b/src/video_core/host1x/host1x.cpp | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | // Copyright 2022 yuzu Emulator Project | ||
| 2 | // Licensed under GPLv3 or any later version | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #include "core/core.h" | ||
| 6 | #include "video_core/host1x/host1x.h" | ||
| 7 | |||
| 8 | namespace Tegra { | ||
| 9 | |||
| 10 | namespace Host1x { | ||
| 11 | |||
| 12 | Host1x::Host1x(Core::System& system_) | ||
| 13 | : system{system_}, syncpoint_manager{}, memory_manager{system, 32, 12}, | ||
| 14 | allocator{std::make_unique<Common::FlatAllocator<u32, 0, 32>>(1 << 12)} {} | ||
| 15 | |||
| 16 | } // namespace Host1x | ||
| 17 | |||
| 18 | } // namespace Tegra | ||