diff options
| author | Markus Wick <degasus@users.noreply.github.com> | 2015-12-01 09:07:09 +0100 |
|---|---|---|
| committer | Markus Wick <degasus@users.noreply.github.com> | 2015-12-01 09:07:09 +0100 |
| commit | 52204c729620683fac1c1e83b6771fb9974e878e (patch) | |
| tree | 948c8cd3081d07e2663031e3fb63ceea43862e61 /Source/Core/VideoCommon/TextureCacheBase.h | |
| parent | 8322040c47e87cde407b21633be021ed76d41e5b (diff) | |
| parent | 03461915a7aa7ac5f5ba058dcf51c4474279d819 (diff) | |
Merge pull request #3299 from phire/JJ_Abrams
Fix lens flares in Mario Kart Wii.
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.h')
| -rw-r--r-- | Source/Core/VideoCommon/TextureCacheBase.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.h b/Source/Core/VideoCommon/TextureCacheBase.h index 00db6e46a3..9435447c9b 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.h +++ b/Source/Core/VideoCommon/TextureCacheBase.h @@ -67,6 +67,7 @@ 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; |
