1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-02 09:03:37 +00:00

TxHiResCache: save cache in reload()

This commit is contained in:
Rosalie Wanders 2021-08-17 16:52:29 +02:00 committed by Sergey Lipskiy
parent ecd6863864
commit 0afcd176d9

View File

@ -151,7 +151,7 @@ bool TxHiResCache::_load(boolean replace) /* 0 : reload, 1 : replace partial */
bool TxHiResCache::reload()
{
return _load(0) && !TxCache::empty();
return _load(0) && !TxCache::empty() && TxCache::save();
}
TxHiResCache::LoadResult TxHiResCache::_loadHiResTextures(const wchar_t * dir_path, boolean replace)