Skip to content

Commit

Permalink
Fix read memory to file name error.
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackINT3 committed Sep 17, 2020
1 parent 46d87ea commit c408c82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OpenArk/kernel/memory/memory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ KernelMemoryRW::KernelMemoryRW()
return;
}

QString filename = WStrToQ(UNONE::StrFormatW(L"%s_%X_%X", QToWChars(CacheGetProcInfo(pid).name), addr, size));
QString filename = WStrToQ(UNONE::StrFormatW(L"%s_%llX_%X", QToWChars(CacheGetProcInfo(pid).name), addr, size));
QString dumpmem = QFileDialog::getSaveFileName(this, tr("Save to"), filename, tr("DumpMemory(*)"));
if (!dumpmem.isEmpty()) {
UNONE::FsWriteFileDataW(dumpmem.toStdWString(), buf) ?
Expand Down

0 comments on commit c408c82

Please sign in to comment.