Skip to content

Commit

Permalink
System: Fix crash when using unknown BIOS
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Apr 14, 2023
1 parent fe41e92 commit 2e3d924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/system.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 2e3d924

Please sign in to comment.