diff options
| -rw-r--r-- | src/video_core/memory_manager.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/video_core/memory_manager.h b/src/video_core/memory_manager.h index e4f0c4bd6..b9a683497 100644 --- a/src/video_core/memory_manager.h +++ b/src/video_core/memory_manager.h | |||
| @@ -66,7 +66,7 @@ public: | |||
| 66 | const u8* GetPointer(GPUVAddr addr) const; | 66 | const u8* GetPointer(GPUVAddr addr) const; |
| 67 | 67 | ||
| 68 | // Returns true if the block is continous in host memory, false otherwise | 68 | // Returns true if the block is continous in host memory, false otherwise |
| 69 | bool IsBlockContinous(const GPUVAddr start, const std::size_t size); | 69 | bool IsBlockContinous(GPUVAddr start, std::size_t size); |
| 70 | 70 | ||
| 71 | /** | 71 | /** |
| 72 | * ReadBlock and WriteBlock are full read and write operations over virtual | 72 | * ReadBlock and WriteBlock are full read and write operations over virtual |
| @@ -74,9 +74,9 @@ public: | |||
| 74 | * in the Host Memory counterpart. Note: This functions cause Host GPU Memory | 74 | * in the Host Memory counterpart. Note: This functions cause Host GPU Memory |
| 75 | * Flushes and Invalidations, respectively to each operation. | 75 | * Flushes and Invalidations, respectively to each operation. |
| 76 | */ | 76 | */ |
| 77 | void ReadBlock(GPUVAddr src_addr, void* dest_buffer, const std::size_t size) const; | 77 | void ReadBlock(GPUVAddr src_addr, void* dest_buffer, std::size_t size) const; |
| 78 | void WriteBlock(GPUVAddr dest_addr, const void* src_buffer, const std::size_t size); | 78 | void WriteBlock(GPUVAddr dest_addr, const void* src_buffer, std::size_t size); |
| 79 | void CopyBlock(GPUVAddr dest_addr, GPUVAddr src_addr, const std::size_t size); | 79 | void CopyBlock(GPUVAddr dest_addr, GPUVAddr src_addr, std::size_t size); |
| 80 | 80 | ||
| 81 | /** | 81 | /** |
| 82 | * ReadBlockUnsafe and WriteBlockUnsafe are special versions of ReadBlock and | 82 | * ReadBlockUnsafe and WriteBlockUnsafe are special versions of ReadBlock and |
| @@ -88,9 +88,9 @@ public: | |||
| 88 | * WriteBlockUnsafe instead of WriteBlock since it shouldn't invalidate the texture | 88 | * WriteBlockUnsafe instead of WriteBlock since it shouldn't invalidate the texture |
| 89 | * being flushed. | 89 | * being flushed. |
| 90 | */ | 90 | */ |
| 91 | void ReadBlockUnsafe(GPUVAddr src_addr, void* dest_buffer, const std::size_t size) const; | 91 | void ReadBlockUnsafe(GPUVAddr src_addr, void* dest_buffer, std::size_t size) const; |
| 92 | void WriteBlockUnsafe(GPUVAddr dest_addr, const void* src_buffer, const std::size_t size); | 92 | void WriteBlockUnsafe(GPUVAddr dest_addr, const void* src_buffer, std::size_t size); |
| 93 | void CopyBlockUnsafe(GPUVAddr dest_addr, GPUVAddr src_addr, const std::size_t size); | 93 | void CopyBlockUnsafe(GPUVAddr dest_addr, GPUVAddr src_addr, std::size_t size); |
| 94 | 94 | ||
| 95 | private: | 95 | private: |
| 96 | using VMAMap = std::map<GPUVAddr, VirtualMemoryArea>; | 96 | using VMAMap = std::map<GPUVAddr, VirtualMemoryArea>; |