From 3b8afb39f61bd6cf149949161344bea1c4d98bc1 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Mon, 22 Apr 2024 01:44:04 +1000 Subject: [PATCH] System: Don't try to fast boot non-PS1 discs --- src/core/system.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/core/system.cpp b/src/core/system.cpp index 94f4e709c..749cc570d 100644 --- a/src/core/system.cpp +++ b/src/core/system.cpp @@ -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() : 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... BIOS::PatchBIOSFastBoot(Bus::g_bios, Bus::BIOS_SIZE); @@ -1503,7 +1507,7 @@ bool System::BootSystem(SystemBootParameters parameters, Error* error) } 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."); } }