mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-06 06:51:18 +12:00
whoops, wrong formatting library
This commit is contained in:
parent
9352654d3a
commit
d774d3feca
1 changed files with 2 additions and 2 deletions
|
@ -455,7 +455,7 @@ void LatteShader_DumpShader(uint64 baseHash, uint64 auxHash, LatteDecompilerShad
|
|||
fs::path shaderPath = ActiveSettings::GetUserDataPath("dump/shaders");
|
||||
std::error_code ec;
|
||||
fs::create_directories(shaderPath, ec);
|
||||
FileStream* fs = FileStream::createFile2(shaderPath / std::format("{:016x}_{:016x}_{}.txt", baseHash, auxHash, suffix));
|
||||
FileStream* fs = FileStream::createFile2(shaderPath / fmt::format("{:016x}_{:016x}_{}.txt", baseHash, auxHash, suffix));
|
||||
if (fs)
|
||||
{
|
||||
if (shader->strBuf_shaderSource)
|
||||
|
@ -485,7 +485,7 @@ void LatteShader_DumpRawShader(uint64 baseHash, uint64 auxHash, uint32 type, uin
|
|||
fs::path shaderPath = ActiveSettings::GetUserDataPath("dump/shaders");
|
||||
std::error_code ec;
|
||||
fs::create_directories(shaderPath, ec);
|
||||
FileStream* fs = FileStream::createFile2(shaderPath / std::format("{:016x}_{:016x}_{}.bin", baseHash, auxHash, suffix));
|
||||
FileStream* fs = FileStream::createFile2(shaderPath / fmt::format("{:016x}_{:016x}_{}.bin", baseHash, auxHash, suffix));
|
||||
if (fs)
|
||||
{
|
||||
fs->writeData(programCode, programLen);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue