diff options
Diffstat (limited to 'src/video_core/host1x/host1x.cpp')
| -rw-r--r-- | src/video_core/host1x/host1x.cpp | 17 |
1 files changed, 17 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..7c317a85d --- /dev/null +++ b/src/video_core/host1x/host1x.cpp | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | // SPDX-FileCopyrightText: 2021 yuzu Emulator Project | ||
| 2 | // SPDX-License-Identifier: GPL-3.0-or-later | ||
| 3 | |||
| 4 | #include "core/core.h" | ||
| 5 | #include "video_core/host1x/host1x.h" | ||
| 6 | |||
| 7 | namespace Tegra { | ||
| 8 | |||
| 9 | namespace Host1x { | ||
| 10 | |||
| 11 | Host1x::Host1x(Core::System& system_) | ||
| 12 | : system{system_}, syncpoint_manager{}, memory_manager{system, 32, 12}, | ||
| 13 | allocator{std::make_unique<Common::FlatAllocator<u32, 0, 32>>(1 << 12)} {} | ||
| 14 | |||
| 15 | } // namespace Host1x | ||
| 16 | |||
| 17 | } // namespace Tegra | ||