diff options
author | Viktor Szépe <viktor@szepe.net> | 2024-01-07 23:44:55 +0100 |
---|---|---|
committer | Viktor Szépe <viktor@szepe.net> | 2024-01-07 23:44:55 +0100 |
commit | 53085a45e0b2cc995f4056de40116a66f7ae7c08 (patch) | |
tree | 532a7e9b391510ea4e9fb254d669b405de7b289d /src/video_core/buffer_cache | |
parent | Merge pull request #12560 from GayPotatoEmma/master (diff) | |
download | yuzu-53085a45e0b2cc995f4056de40116a66f7ae7c08.tar yuzu-53085a45e0b2cc995f4056de40116a66f7ae7c08.tar.gz yuzu-53085a45e0b2cc995f4056de40116a66f7ae7c08.tar.bz2 yuzu-53085a45e0b2cc995f4056de40116a66f7ae7c08.tar.lz yuzu-53085a45e0b2cc995f4056de40116a66f7ae7c08.tar.xz yuzu-53085a45e0b2cc995f4056de40116a66f7ae7c08.tar.zst yuzu-53085a45e0b2cc995f4056de40116a66f7ae7c08.zip |
Diffstat (limited to 'src/video_core/buffer_cache')
-rw-r--r-- | src/video_core/buffer_cache/memory_tracker_base.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/buffer_cache/memory_tracker_base.h b/src/video_core/buffer_cache/memory_tracker_base.h index 6036b21c9..6c1c8287b 100644 --- a/src/video_core/buffer_cache/memory_tracker_base.h +++ b/src/video_core/buffer_cache/memory_tracker_base.h @@ -267,10 +267,10 @@ private: top_tier[page_index] = GetNewManager(base_cpu_addr); } - Manager* GetNewManager(VAddr base_cpu_addess) { + Manager* GetNewManager(VAddr base_cpu_address) { const auto on_return = [&] { auto* new_manager = free_managers.front(); - new_manager->SetCpuAddress(base_cpu_addess); + new_manager->SetCpuAddress(base_cpu_address); free_managers.pop_front(); return new_manager; }; |