path fixup
Using Qt's toNativeSeperators to ensure we're converting to OS supported paths
This commit is contained in:
parent
12e16e154e
commit
192650d9da
|
@ -1552,6 +1552,7 @@ void CPUDump::binarySaveToFileSlot()
|
|||
dsint vaSelStart = rvaToVa(rvaSelStart);
|
||||
|
||||
// Prepare command
|
||||
fileName = QDir::toNativeSeparators(fileName);
|
||||
QString cmd = QString("savedata %1,%2,%3").arg(fileName, QString::number(vaSelStart, 16), QString::number(selSize));
|
||||
DbgCmdExec(cmd.toUtf8().constData());
|
||||
}
|
||||
|
|
|
@ -461,6 +461,7 @@ void MemoryMapView::dumpMemory()
|
|||
|
||||
if(fileName.length())
|
||||
{
|
||||
fileName = QDir::toNativeSeparators(fileName);
|
||||
QString cmd = QString("savedata ""%1"",%2,%3").arg(fileName, getCellContent(getInitialSelection(), 0),
|
||||
getCellContent(getInitialSelection(), 1));
|
||||
DbgCmdExec(cmd.toUtf8().constData());
|
||||
|
|
Loading…
Reference in New Issue