diff options
author | comex <comexk@gmail.com> | 2023-07-02 00:00:39 +0200 |
---|---|---|
committer | comex <comexk@gmail.com> | 2023-07-15 21:00:28 +0200 |
commit | d7c532d8894ce806c9af13b8dd3eec975642b348 (patch) | |
tree | 1353e6d1776384575019db28987e23237552a9de /src/video_core/rasterizer_accelerated.h | |
parent | file_sys/content_archive: Detect compressed NCAs (#11047) (diff) | |
download | yuzu-d7c532d8894ce806c9af13b8dd3eec975642b348.tar yuzu-d7c532d8894ce806c9af13b8dd3eec975642b348.tar.gz yuzu-d7c532d8894ce806c9af13b8dd3eec975642b348.tar.bz2 yuzu-d7c532d8894ce806c9af13b8dd3eec975642b348.tar.lz yuzu-d7c532d8894ce806c9af13b8dd3eec975642b348.tar.xz yuzu-d7c532d8894ce806c9af13b8dd3eec975642b348.tar.zst yuzu-d7c532d8894ce806c9af13b8dd3eec975642b348.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/rasterizer_accelerated.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/rasterizer_accelerated.h b/src/video_core/rasterizer_accelerated.h index 7118b8aff..e6c0ea87a 100644 --- a/src/video_core/rasterizer_accelerated.h +++ b/src/video_core/rasterizer_accelerated.h @@ -41,7 +41,8 @@ private: }; static_assert(sizeof(CacheEntry) == 8, "CacheEntry should be 8 bytes!"); - std::array<CacheEntry, 0x2000000> cached_pages; + using CachedPages = std::array<CacheEntry, 0x2000000>; + std::unique_ptr<CachedPages> cached_pages; Core::Memory::Memory& cpu_memory; }; |