1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00

TxHiResCache: fix texture pack not loading

This commit is contained in:
Rosalie Wanders 2021-08-17 15:15:36 +02:00 committed by Sergey Lipskiy
parent 4a9e1260ce
commit ecd6863864

View File

@ -72,7 +72,7 @@ TxHiResCache::TxHiResCache(int maxwidth,
/* read in hires textures */ /* read in hires textures */
if (!_cacheDumped) { if (!_cacheDumped) {
if (TxHiResCache::load(0) && (getOptions() & HIRES_DUMP_ENABLED) != 0) if (_load(0) && (getOptions() & HIRES_DUMP_ENABLED) != 0)
_cacheDumped = TxCache::save(); _cacheDumped = TxCache::save();
} }
} }