diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-05-09 19:13:14 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-05-09 19:14:36 -0400 |
| commit | 716fbaef743e46a063dc8b4e5e542e0c2ee2141e (patch) | |
| tree | 5ed53f3890245da07727ee0a7faa9b12447d1208 /src/video_core/memory_manager.h | |
| parent | d4bcd006b298e7a58026e2cd311d581b25731ddd (diff) | |
video_core/memory_manager: Mark IsBlockContinuous() as a const member function
Corrects the typo in its name and marks the function as a const member
function, given it doesn't actually modify memory manager state.
Diffstat (limited to 'src/video_core/memory_manager.h')
| -rw-r--r-- | src/video_core/memory_manager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/memory_manager.h b/src/video_core/memory_manager.h index f69a25706..113f9d8f3 100644 --- a/src/video_core/memory_manager.h +++ b/src/video_core/memory_manager.h @@ -66,8 +66,8 @@ public: u8* GetPointer(GPUVAddr addr); const u8* GetPointer(GPUVAddr addr) const; - // Returns true if the block is continuous in host memory, false otherwise - bool IsBlockContinous(GPUVAddr start, std::size_t size); + /// Returns true if the block is continuous in host memory, false otherwise + bool IsBlockContinuous(GPUVAddr start, std::size_t size) const; /** * ReadBlock and WriteBlock are full read and write operations over virtual |
