mirror of https://github.com/AxioDL/metaforce.git
Cache bug fix
This commit is contained in:
parent
6ae4f6ed11
commit
6b6617303b
|
@ -291,7 +291,7 @@ bool ShaderCacheManager::addData(const ShaderCachedData& data)
|
||||||
if (!targetOffset)
|
if (!targetOffset)
|
||||||
{
|
{
|
||||||
/* New index entry at end */
|
/* New index entry at end */
|
||||||
idxFw.seek(16, Athena::Begin);
|
idxFw.seek(24, Athena::Begin);
|
||||||
idxFw.writeUint64Big(m_entries.size() + 1);
|
idxFw.writeUint64Big(m_entries.size() + 1);
|
||||||
idxFw.seek(m_entries.size() * 32 + 32, Athena::Begin);
|
idxFw.seek(m_entries.size() * 32 + 32, Athena::Begin);
|
||||||
datFw.seek(0, Athena::End);
|
datFw.seek(0, Athena::End);
|
||||||
|
|
Loading…
Reference in New Issue