Fix Qt debugger

This commit is contained in:
Vas Crabb 2016-08-01 20:56:38 +10:00
parent 15e7be7ac8
commit f04a3f1b9d

View File

@ -357,7 +357,7 @@ void MainWindow::mountImage(bool changedTo)
QDir::currentPath(), QDir::currentPath(),
tr("All files (*.*)")); tr("All files (*.*)"));
if (img->load(filename.toUtf8().data()) != IMAGE_INIT_PASS) if (img->load(filename.toUtf8().data()) != image_init_result::PASS)
{ {
m_machine->debugger().console().printf("Image could not be mounted.\n"); m_machine->debugger().console().printf("Image could not be mounted.\n");
refreshAll(); refreshAll();