mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-18 22:35:39 +00:00
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.
|
// Enable tty by patching bios.
|
||||||
const BIOS::ImageInfo* bios_info = BIOS::GetInfoForImage(bios_image.value());
|
const BIOS::ImageInfo* bios_info = BIOS::GetInfoForImage(bios_image.value());
|
||||||
|
if (g_settings.bios_patch_tty_enable)
|
||||||
|
{
|
||||||
if (bios_info && bios_info->patch_compatible)
|
if (bios_info && bios_info->patch_compatible)
|
||||||
BIOS::PatchBIOSEnableTTY(Bus::g_bios, Bus::BIOS_SIZE);
|
BIOS::PatchBIOSEnableTTY(Bus::g_bios, Bus::BIOS_SIZE);
|
||||||
else
|
else
|
||||||
Log_ErrorPrintf("Not patching TTY enable, as BIOS is not patch compatible.");
|
Log_ErrorPrintf("Not patching TTY enable, as BIOS is not patch compatible.");
|
||||||
|
}
|
||||||
|
|
||||||
// Load EXE late after BIOS.
|
// Load EXE late after BIOS.
|
||||||
if (exe_boot && !LoadEXE(parameters.filename.c_str()))
|
if (exe_boot && !LoadEXE(parameters.filename.c_str()))
|
||||||
|
|
Loading…
Reference in a new issue