diff options
| author | Scott Mansell <phiren@gmail.com> | 2015-09-06 02:03:49 +1200 |
|---|---|---|
| committer | Scott Mansell <phiren@gmail.com> | 2015-09-07 02:32:01 +1200 |
| commit | ee649c6d9f38510b2acad42dcce894400a8b4d4b (patch) | |
| tree | d07579df8806d5186411bc5fe43474e1bf61985d /Source/Core/VideoCommon/TextureCacheBase.h | |
| parent | c08a83a5aae41e7c8904295cfa62f932ea87ce02 (diff) | |
Make efb2tex behave more like efb2ram.
Instead of having special case code for efb2tex that ignores hashes,
the only diffence between efb2tex and efb2ram now is that efb2tex
writes zeros to the memory instead of actual texture data.
Though keep in mind, all efb2tex copies will have hashes of zero as
their hash.
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.h')
| -rw-r--r-- | Source/Core/VideoCommon/TextureCacheBase.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.h b/Source/Core/VideoCommon/TextureCacheBase.h index c012cad0fc..56e1f0b1e2 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.h +++ b/Source/Core/VideoCommon/TextureCacheBase.h @@ -111,7 +111,7 @@ public: u32 NumBlocksY() const; u32 CacheLinesPerRow() const; - void Memset(u8* ptr, u32 tag); + void Zero(u8* ptr); }; virtual ~TextureCache(); // needs virtual for DX11 dtor |
