]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/jaguar.cpp
Small code cleanups, file picker now grabs everything it knows about by
[virtualjaguar] / src / jaguar.cpp
index 7e2640f045caa67e1319543b1b218a8b45785e76..2ce5da5a5cba671e6ab823a56e6a6e465142a866 100644 (file)
@@ -1604,17 +1604,12 @@ void JaguarReset(void)
 //Need to change this so it uses the single RAM space and load the BIOS
 //into it somewhere...
 //Also, have to change this here and in JaguarReadXX() currently
-       // Only use the system BIOS if it's available...!
-       if (vjs.useJaguarBIOS && (biosAvailable & (BIOS_NORMAL | BIOS_STUB1 | BIOS_STUB2)))
-//             memcpy(jaguarMainRAM, jaguarBootROM, 8);
-//             memcpy(jaguarMainRAM, jaguarDevBootROM1, 8);
-               memcpy(jaguarMainRAM, &jagMemSpace[0xE00000], 8);
+       // Only use the system BIOS if it's available...! (it's always available now!)
+       if (vjs.useJaguarBIOS && !vjs.hardwareTypeAlpine)
+               memcpy(jaguarMainRAM, jagMemSpace + 0xE00000, 8);
        else
                SET32(jaguarMainRAM, 4, jaguarRunAddress);
 
-       if (vjs.useJaguarBIOS && !(biosAvailable & (BIOS_NORMAL | BIOS_STUB1 | BIOS_STUB2)))
-               WriteLog("Jaguar: Requested BIOS, but none available.\n");
-
 //     WriteLog("jaguar_reset():\n");
        TOMReset();
        JERRYReset();