mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-06-12 22:33:28 +00:00
Merge branch 'master' of https://github.com/AxioDL/hecl
This commit is contained in:
commit
e161550f73
@ -64,11 +64,7 @@ void ShaderCacheManager::bootstrapIndex()
|
|||||||
m_idxFr.close();
|
m_idxFr.close();
|
||||||
m_datFr.close();
|
m_datFr.close();
|
||||||
|
|
||||||
#if _WIN32
|
SystemStringView idxFilename(m_idxFr.filename());
|
||||||
SystemString idxFilename = m_idxFr.wfilename();
|
|
||||||
#else
|
|
||||||
SystemString idxFilename = m_idxFr.filename();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
FILE* idxFp = HECL::Fopen(idxFilename.c_str(), _S("wb"));
|
FILE* idxFp = HECL::Fopen(idxFilename.c_str(), _S("wb"));
|
||||||
if (!idxFp)
|
if (!idxFp)
|
||||||
@ -80,11 +76,7 @@ void ShaderCacheManager::bootstrapIndex()
|
|||||||
fwrite(&ZERO64, 1, 8, idxFp);
|
fwrite(&ZERO64, 1, 8, idxFp);
|
||||||
fclose(idxFp);
|
fclose(idxFp);
|
||||||
|
|
||||||
#if _WIN32
|
SystemStringView datFilename(m_datFr.filename());
|
||||||
SystemString datFilename = m_datFr.wfilename();
|
|
||||||
#else
|
|
||||||
SystemString datFilename = m_datFr.filename();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
FILE* datFp = HECL::Fopen(datFilename.c_str(), _S("wb"));
|
FILE* datFp = HECL::Fopen(datFilename.c_str(), _S("wb"));
|
||||||
if (!datFp)
|
if (!datFp)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user