diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-12-30 23:08:55 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-01-19 03:12:30 +0100 |
commit | b0bca0f8b04de630f9dec47cff14a640d40f65db (patch) | |
tree | c1723cc631a573340e1393aa81939fa1ce5dfad0 /src/core/hle/service/nvdrv/core/nvmap.h | |
parent | SMMU: Add continuity tracking optimization. (diff) | |
download | yuzu-b0bca0f8b04de630f9dec47cff14a640d40f65db.tar yuzu-b0bca0f8b04de630f9dec47cff14a640d40f65db.tar.gz yuzu-b0bca0f8b04de630f9dec47cff14a640d40f65db.tar.bz2 yuzu-b0bca0f8b04de630f9dec47cff14a640d40f65db.tar.lz yuzu-b0bca0f8b04de630f9dec47cff14a640d40f65db.tar.xz yuzu-b0bca0f8b04de630f9dec47cff14a640d40f65db.tar.zst yuzu-b0bca0f8b04de630f9dec47cff14a640d40f65db.zip |
Diffstat (limited to 'src/core/hle/service/nvdrv/core/nvmap.h')
-rw-r--r-- | src/core/hle/service/nvdrv/core/nvmap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/nvdrv/core/nvmap.h b/src/core/hle/service/nvdrv/core/nvmap.h index 4af61289e..119efc38d 100644 --- a/src/core/hle/service/nvdrv/core/nvmap.h +++ b/src/core/hle/service/nvdrv/core/nvmap.h @@ -82,7 +82,7 @@ public: * @brief Sets up the handle with the given memory config, can allocate memory from the tmem * if a 0 address is passed */ - [[nodiscard]] NvResult Alloc(Flags pFlags, u32 pAlign, u8 pKind, u64 pAddress); + [[nodiscard]] NvResult Alloc(Flags pFlags, u32 pAlign, u8 pKind, u64 pAddress, size_t pSessionId); /** * @brief Increases the dupe counter of the handle for the given session @@ -130,7 +130,7 @@ public: * number of calls to `UnpinHandle` * @return The SMMU virtual address that the handle has been mapped to */ - DAddr PinHandle(Handle::Id handle, size_t session_id, bool low_area_pin); + DAddr PinHandle(Handle::Id handle, bool low_area_pin); /** * @brief When this has been called an equal number of times to `PinHandle` for the supplied |