]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/gui/mainwin.cpp
Fixed bug with missing BIOS on first boot of Virtual Jaguar.
[virtualjaguar] / src / gui / mainwin.cpp
index 83d0a53855adcd33c3a1812f226be80d39e3c2e3..5794f2b0552ade2945e7b337f5dfe2e8b6351b84 100644 (file)
@@ -274,6 +274,8 @@ MainWin::MainWin(): running(false), powerButtonOn(false), showUntunedTankCircuit
                // Attempt to load/run the ABS file...
                LoadSoftware(vjs.absROMPath);
        }
+       else
+               memcpy(jagMemSpace + 0xE00000, jaguarBootROM, 0x20000); // Otherwise, use the stock BIOS
 }
 
 void MainWin::closeEvent(QCloseEvent * event)