System: Don't try to fast boot non-PS1 discs
This commit is contained in:
parent
3fa2bd1d3a
commit
3b8afb39f6
|
@ -1495,7 +1495,11 @@ bool System::BootSystem(SystemBootParameters parameters, Error* error)
|
||||||
if (CDROM::HasMedia() && (parameters.override_fast_boot.has_value() ? parameters.override_fast_boot.value() :
|
if (CDROM::HasMedia() && (parameters.override_fast_boot.has_value() ? parameters.override_fast_boot.value() :
|
||||||
g_settings.bios_patch_fast_boot))
|
g_settings.bios_patch_fast_boot))
|
||||||
{
|
{
|
||||||
if (s_bios_image_info && s_bios_image_info->patch_compatible)
|
if (CDROM::IsMediaPS1Disc())
|
||||||
|
{
|
||||||
|
Log_ErrorPrint("Not fast booting non-PS1 disc.");
|
||||||
|
}
|
||||||
|
else if (s_bios_image_info && s_bios_image_info->patch_compatible)
|
||||||
{
|
{
|
||||||
// TODO: Fast boot without patches...
|
// TODO: Fast boot without patches...
|
||||||
BIOS::PatchBIOSFastBoot(Bus::g_bios, Bus::BIOS_SIZE);
|
BIOS::PatchBIOSFastBoot(Bus::g_bios, Bus::BIOS_SIZE);
|
||||||
|
@ -1503,7 +1507,7 @@ bool System::BootSystem(SystemBootParameters parameters, Error* error)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Log_ErrorPrintf("Not patching fast boot, as BIOS is not patch compatible.");
|
Log_ErrorPrint("Not patching fast boot, as BIOS is not patch compatible.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue