diff options
| author | Narr the Reg <juangerman-13@hotmail.com> | 2023-09-28 23:45:49 -0600 |
|---|---|---|
| committer | Narr the Reg <juangerman-13@hotmail.com> | 2023-10-01 11:38:30 -0600 |
| commit | 35f25882e027fd3c466edd44db1fc1c5bec75bde (patch) | |
| tree | 8f7be0d40cc8ebb2bbbb8fec4113293bc72f5071 /src/core/hle/service/nvdrv | |
| parent | f1f3d490efb0cbe0d0014a0879b9d1bab7dd196b (diff) | |
service: nvnflinger: Implement shared buffer
Co-authored-by: Liam <byteslice@airmail.cc>
Diffstat (limited to 'src/core/hle/service/nvdrv')
| -rw-r--r-- | src/core/hle/service/nvdrv/devices/nvmap.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvmap.h b/src/core/hle/service/nvdrv/devices/nvmap.h index 40c65b430..4c0cc71cd 100644 --- a/src/core/hle/service/nvdrv/devices/nvmap.h +++ b/src/core/hle/service/nvdrv/devices/nvmap.h @@ -45,13 +45,6 @@ public: IsSharedMemMapped = 6 }; -private: - /// Id to use for the next handle that is created. - u32 next_handle = 0; - - /// Id to use for the next object that is created. - u32 next_id = 0; - struct IocCreateParams { // Input u32_le size{}; @@ -113,6 +106,13 @@ private: NvResult IocParam(std::span<const u8> input, std::span<u8> output); NvResult IocFree(std::span<const u8> input, std::span<u8> output); +private: + /// Id to use for the next handle that is created. + u32 next_handle = 0; + + /// Id to use for the next object that is created. + u32 next_id = 0; + NvCore::Container& container; NvCore::NvMap& file; }; |
