mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-26 23:35:41 -04:00
System: Fix crash when using unknown BIOS
This commit is contained in:
parent
fe41e92579
commit
2e3d924bc6
@ -1804,7 +1804,7 @@ bool System::LoadBIOS()
|
|||||||
if (s_bios_image_info)
|
if (s_bios_image_info)
|
||||||
Log_InfoPrintf("Using BIOS: %s", s_bios_image_info->description);
|
Log_InfoPrintf("Using BIOS: %s", s_bios_image_info->description);
|
||||||
else
|
else
|
||||||
Log_WarningPrintf("Using an unknown BIOS: %s", s_bios_image_info->hash.ToString().c_str());
|
Log_WarningPrintf("Using an unknown BIOS: %s", s_bios_hash.ToString().c_str());
|
||||||
|
|
||||||
std::memcpy(Bus::g_bios, bios_image->data(), Bus::BIOS_SIZE);
|
std::memcpy(Bus::g_bios, bios_image->data(), Bus::BIOS_SIZE);
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user