diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-05-18 19:14:28 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-05-18 19:14:28 +0200 |
commit | 7f78b17e204e961a9ba86f2fe99455e653ef12cc (patch) | |
tree | fe33aa27e1a2893661ee3b8e1435e1486081cdb0 /src/core/hle | |
parent | Merge pull request #6322 from ameerj/fast-null-buffer (diff) | |
download | yuzu-7f78b17e204e961a9ba86f2fe99455e653ef12cc.tar yuzu-7f78b17e204e961a9ba86f2fe99455e653ef12cc.tar.gz yuzu-7f78b17e204e961a9ba86f2fe99455e653ef12cc.tar.bz2 yuzu-7f78b17e204e961a9ba86f2fe99455e653ef12cc.tar.lz yuzu-7f78b17e204e961a9ba86f2fe99455e653ef12cc.tar.xz yuzu-7f78b17e204e961a9ba86f2fe99455e653ef12cc.tar.zst yuzu-7f78b17e204e961a9ba86f2fe99455e653ef12cc.zip |
Diffstat (limited to 'src/core/hle')
-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: |