mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-28 06:46:33 +00:00
Reinstate format string.
Avoid the consequences in the unlikely event the path includes a %.
This commit is contained in:
parent
4f0e2f6b62
commit
8c8a2ab248
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ bool ParsePartitionData(SPartition& _rPartition)
|
||||||
// Go through the filesystem and mark entries as used
|
// Go through the filesystem and mark entries as used
|
||||||
for (SFileInfo file : filesystem->GetFileList())
|
for (SFileInfo file : filesystem->GetFileList())
|
||||||
{
|
{
|
||||||
DEBUG_LOG(DISCIO, file.m_FullPath.empty() ? "/" : file.m_FullPath.c_str());
|
DEBUG_LOG(DISCIO, "%s", file.m_FullPath.empty() ? "/" : file.m_FullPath.c_str());
|
||||||
// Just 1byte for directory? - it will end up reserving a cluster this way
|
// Just 1byte for directory? - it will end up reserving a cluster this way
|
||||||
if (file.m_NameOffset & 0x1000000)
|
if (file.m_NameOffset & 0x1000000)
|
||||||
MarkAsUsedE(_rPartition.Offset + _rPartition.Header.DataOffset, file.m_Offset, 1);
|
MarkAsUsedE(_rPartition.Offset + _rPartition.Header.DataOffset, file.m_Offset, 1);
|
||||||
|
|
Loading…
Add table
Reference in a new issue