mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-02 23:45:43 -04: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 (bios_info && bios_info->patch_compatible)
|
if (g_settings.bios_patch_tty_enable)
|
||||||
BIOS::PatchBIOSEnableTTY(Bus::g_bios, Bus::BIOS_SIZE);
|
{
|
||||||
else
|
if (bios_info && bios_info->patch_compatible)
|
||||||
Log_ErrorPrintf("Not patching TTY enable, as BIOS is not 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.
|
// Load EXE late after BIOS.
|
||||||
if (exe_boot && !LoadEXE(parameters.filename.c_str()))
|
if (exe_boot && !LoadEXE(parameters.filename.c_str()))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user