diff options
| author | 2024-01-07 22:44:55 +0000 | |
|---|---|---|
| committer | 2024-01-07 22:44:55 +0000 | |
| commit | 53085a45e0b2cc995f4056de40116a66f7ae7c08 (patch) | |
| tree | 532a7e9b391510ea4e9fb254d669b405de7b289d /src/video_core/control | |
| parent | Merge pull request #12560 from GayPotatoEmma/master (diff) | |
| download | yuzu-53085a45e0b2cc995f4056de40116a66f7ae7c08.tar.gz yuzu-53085a45e0b2cc995f4056de40116a66f7ae7c08.tar.xz yuzu-53085a45e0b2cc995f4056de40116a66f7ae7c08.zip | |
Fix typos in video_core
Diffstat (limited to 'src/video_core/control')
| -rw-r--r-- | src/video_core/control/channel_state_cache.h | 4 | ||||
| -rw-r--r-- | src/video_core/control/channel_state_cache.inc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/control/channel_state_cache.h b/src/video_core/control/channel_state_cache.h index 5574e1fba..1dbfda299 100644 --- a/src/video_core/control/channel_state_cache.h +++ b/src/video_core/control/channel_state_cache.h | |||
| @@ -85,12 +85,12 @@ protected: | |||
| 85 | std::deque<size_t> free_channel_ids; | 85 | std::deque<size_t> free_channel_ids; |
| 86 | std::unordered_map<s32, size_t> channel_map; | 86 | std::unordered_map<s32, size_t> channel_map; |
| 87 | std::vector<size_t> active_channel_ids; | 87 | std::vector<size_t> active_channel_ids; |
| 88 | struct AddresSpaceRef { | 88 | struct AddressSpaceRef { |
| 89 | size_t ref_count; | 89 | size_t ref_count; |
| 90 | size_t storage_id; | 90 | size_t storage_id; |
| 91 | Tegra::MemoryManager* gpu_memory; | 91 | Tegra::MemoryManager* gpu_memory; |
| 92 | }; | 92 | }; |
| 93 | std::unordered_map<size_t, AddresSpaceRef> address_spaces; | 93 | std::unordered_map<size_t, AddressSpaceRef> address_spaces; |
| 94 | mutable std::mutex config_mutex; | 94 | mutable std::mutex config_mutex; |
| 95 | 95 | ||
| 96 | virtual void OnGPUASRegister([[maybe_unused]] size_t map_id) {} | 96 | virtual void OnGPUASRegister([[maybe_unused]] size_t map_id) {} |
diff --git a/src/video_core/control/channel_state_cache.inc b/src/video_core/control/channel_state_cache.inc index 460313893..31f792ddd 100644 --- a/src/video_core/control/channel_state_cache.inc +++ b/src/video_core/control/channel_state_cache.inc | |||
| @@ -38,7 +38,7 @@ void ChannelSetupCaches<P>::CreateChannel(struct Tegra::Control::ChannelState& c | |||
| 38 | as_it->second.ref_count++; | 38 | as_it->second.ref_count++; |
| 39 | return; | 39 | return; |
| 40 | } | 40 | } |
| 41 | AddresSpaceRef new_gpu_mem_ref{ | 41 | AddressSpaceRef new_gpu_mem_ref{ |
| 42 | .ref_count = 1, | 42 | .ref_count = 1, |
| 43 | .storage_id = address_spaces.size(), | 43 | .storage_id = address_spaces.size(), |
| 44 | .gpu_memory = channel.memory_manager.get(), | 44 | .gpu_memory = channel.memory_manager.get(), |