MacroHLE: Add Index Buffer size estimation.

This commit is contained in:
Fernando Sahmkow
2022-10-21 01:46:51 +02:00
parent c541559767
commit 93ac5a6a6d
5 changed files with 74 additions and 10 deletions

View File

@ -118,6 +118,8 @@ public:
PTEKind GetPageKind(GPUVAddr gpu_addr) const;
size_t GetMemoryLayoutSize(GPUVAddr gpu_addr) const;
private:
template <bool is_big_pages, typename FuncMapped, typename FuncReserved, typename FuncUnmapped>
inline void MemoryOperation(GPUVAddr gpu_src_addr, std::size_t size, FuncMapped&& func_mapped,