rasterizer_accelerated: Zero intialize cached_pages
* Resolves random crashes because count takes random values
This commit is contained in:
@ -14,6 +14,6 @@ public:
|
|||||||
void UpdatePagesCachedCount(PAddr addr, u32 size, int delta) override;
|
void UpdatePagesCachedCount(PAddr addr, u32 size, int delta) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::array<u16, 0x30000> cached_pages;
|
std::array<u16, 0x30000> cached_pages{};
|
||||||
};
|
};
|
||||||
} // namespace VideoCore
|
} // namespace VideoCore
|
||||||
|
Reference in New Issue
Block a user