mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-03 21:41:19 +12:00
Fix invalid sscanf format in DownloadManager
function DownloadManager::searchForIncompleteDownloads
This commit is contained in:
parent
39a779cffe
commit
d2f6bf6a3e
1 changed files with 1 additions and 1 deletions
|
@ -581,7 +581,7 @@ void DownloadManager::searchForIncompleteDownloads()
|
|||
uint64 titleId;
|
||||
uint32 version;
|
||||
std::string name = p.path().filename().generic_string();
|
||||
if( sscanf(name.c_str(), "cemu_% " PRIx64 "_v%u", &titleId, &version) != 2)
|
||||
if( sscanf(name.c_str(), "cemu_%" PRIx64 "_v%u", &titleId, &version) != 2)
|
||||
continue;
|
||||
std::unique_lock<std::recursive_mutex> _l(m_mutex);
|
||||
for (auto& itr : m_ticketCache)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue