TextureCache, fix an incorrect assert.

This commit is contained in:
Scott Mansell
2015-12-29 14:25:31 +13:00
parent aabcd441d9
commit d8e5d8659e
4 changed files with 7 additions and 7 deletions

View File

@ -52,7 +52,7 @@ public:
u32 size_in_bytes;
u64 base_hash;
u64 hash; // for paletted textures, hash = base_hash ^ palette_hash
u32 format;
u32 format; // bits 0-3 will contain the in-memory format.
bool is_efb_copy;
bool is_custom_tex;
u32 memory_stride;
@ -68,7 +68,6 @@ public:
void SetGeneralParameters(u32 _addr, u32 _size, u32 _format)
{
_dbg_assert_msg_(VIDEO, _format < 0x10, "You shouldn't use dolphin's \"Extra\" texture formats in a texture cache entry");
addr = _addr;
size_in_bytes = _size;
format = _format;