1
0
Fork 0

path fixup

Using Qt's toNativeSeperators to ensure we're converting to OS supported
paths
This commit is contained in:
glindor 2016-02-14 00:37:01 -05:00
parent 12e16e154e
commit 192650d9da
2 changed files with 2 additions and 0 deletions

View File

@ -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());
}

View File

@ -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());