System: Don't unconditionally apply TTY enable patch
Fixes Intelligent Qube hang.
This commit is contained in:
parent
7a362bf8f6
commit
7101b86d2f
|
@ -1208,10 +1208,13 @@ bool System::BootSystem(SystemBootParameters parameters)
|
|||
|
||||
// Enable tty by patching bios.
|
||||
const BIOS::ImageInfo* bios_info = BIOS::GetInfoForImage(bios_image.value());
|
||||
if (bios_info && bios_info->patch_compatible)
|
||||
BIOS::PatchBIOSEnableTTY(Bus::g_bios, Bus::BIOS_SIZE);
|
||||
else
|
||||
Log_ErrorPrintf("Not patching TTY enable, as BIOS is not patch compatible.");
|
||||
if (g_settings.bios_patch_tty_enable)
|
||||
{
|
||||
if (bios_info && bios_info->patch_compatible)
|
||||
BIOS::PatchBIOSEnableTTY(Bus::g_bios, Bus::BIOS_SIZE);
|
||||
else
|
||||
Log_ErrorPrintf("Not patching TTY enable, as BIOS is not patch compatible.");
|
||||
}
|
||||
|
||||
// Load EXE late after BIOS.
|
||||
if (exe_boot && !LoadEXE(parameters.filename.c_str()))
|
||||
|
|
Loading…
Reference in New Issue