mirror of
https://github.com/holub/mame
synced 2025-06-26 06:14:12 +03:00
Fix Qt debugger
This commit is contained in:
parent
15e7be7ac8
commit
f04a3f1b9d
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user