diff options
author | bunnei <bunneidev@gmail.com> | 2021-05-18 20:00:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-18 20:00:34 +0200 |
commit | 61f293e5c98f4dc93f366c85caa2628da8d63205 (patch) | |
tree | fe33aa27e1a2893661ee3b8e1435e1486081cdb0 /src/core/hle | |
parent | Merge pull request #6322 from ameerj/fast-null-buffer (diff) | |
parent | KTransferMemory: Return size instead of size * PageSize in GetSize() (diff) | |
download | yuzu-61f293e5c98f4dc93f366c85caa2628da8d63205.tar yuzu-61f293e5c98f4dc93f366c85caa2628da8d63205.tar.gz yuzu-61f293e5c98f4dc93f366c85caa2628da8d63205.tar.bz2 yuzu-61f293e5c98f4dc93f366c85caa2628da8d63205.tar.lz yuzu-61f293e5c98f4dc93f366c85caa2628da8d63205.tar.xz yuzu-61f293e5c98f4dc93f366c85caa2628da8d63205.tar.zst yuzu-61f293e5c98f4dc93f366c85caa2628da8d63205.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/k_transfer_memory.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_transfer_memory.h b/src/core/hle/kernel/k_transfer_memory.h index 838fd2b18..c2d0f1eaf 100644 --- a/src/core/hle/kernel/k_transfer_memory.h +++ b/src/core/hle/kernel/k_transfer_memory.h @@ -52,7 +52,7 @@ public: } size_t GetSize() const { - return is_initialized ? size * PageSize : 0; + return is_initialized ? size : 0; } private: |