mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-10 20:15:46 -04:00
System: Fix crash when using unknown BIOS
This commit is contained in:
@ -1804,7 +1804,7 @@ bool System::LoadBIOS()
|
||||
if (s_bios_image_info)
|
||||
Log_InfoPrintf("Using BIOS: %s", s_bios_image_info->description);
|
||||
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);
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user