]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/gui/mainwin.cpp
QString no longer supports toAscii, use toUtf8 instead
[virtualjaguar] / src / gui / mainwin.cpp
index e84be10b4af5ec19350681e092211dafc90cfe13..29363055dd2c86d34fbea135bb0d1e6df37ab648 100644 (file)
@@ -962,7 +962,7 @@ void MainWin::LoadSoftware(QString file)
        powerButtonOn = false;
        TogglePowerState();
        // We have to load our software *after* the Jaguar RESET
-       cartridgeLoaded = JaguarLoadFile(file.toAscii().data());
+       cartridgeLoaded = JaguarLoadFile(file.toUtf8().data());
        SET32(jaguarMainRAM, 0, 0x00200000);            // Set top of stack...
 
        // This is icky because we've already done it